Skip to content

Commit

Permalink
Excluding of Vehicle Repair and Delete Form
Browse files Browse the repository at this point in the history
  • Loading branch information
MadukaNuwantha committed Oct 18, 2020
1 parent c58788e commit 4665fe4
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 171 deletions.
21 changes: 0 additions & 21 deletions backend/models/VehicleRepair.model.js

This file was deleted.

1 change: 0 additions & 1 deletion backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ app.use('/salary' , salaryRouter);
app.use('/employee', employeeRouter);
app.use('/order', orderRouter);
app.use('/vehicle', vehicleRouter);
app.use('/vehiclerepair', vehiclerepair);

app.use('/users',usersRouter);
app.use('/equipments',equipmentRouter);
Expand Down
1 change: 1 addition & 0 deletions debug.log
Original file line number Diff line number Diff line change
Expand Up @@ -2149,3 +2149,4 @@
[1016/075536.309:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1017/001934.960:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1018/110055.060:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1018/152431.490:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
6 changes: 1 addition & 5 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ import AssignDriverForm from "./components/AssignDriverForm.component";
import InsertVehicleForm from "./components/InsertVehicleForm.component"
import UpdateVehicleForm from "./components/UpdateVehicleForm.component"
import VehicleManagementTable from "./components/VehicleManagementTable.component";
import RepairVehicleForm from "./components/VehicleRepairForm.component";
import VehicleDeleteForm from "./components/VehicleDeleteForm.component";

import EquipmentList from "./components/equipment-list.component";
import EditEquipment from "./components/edit-equipment.component";
Expand Down Expand Up @@ -141,11 +139,9 @@ function App() {
<Route path="/InsertVehicle" component={InsertVehicleForm} />
<Route path="/UpdateVehicle/:id" component={UpdateVehicleForm} />
<Route path="/VehicleManagement" exact component={VehicleManagementTable} />
<Route path="/VehicleRepair" exact component={RepairVehicleForm} />
<Route path="/VehicleDelete" exact component={VehicleDeleteForm} />


<Route path="/equipment" exact component ={EquipmentList}/>
<Route path="/equipment" exact component ={EquipmentList}/>
<Route path="/editEquipment/:id" component ={EditEquipment}/>
<Route path="/repedit/:id" component={EditRepair}/>
<Route path="/createEquipment" component={CreateEquipment}/>
Expand Down
67 changes: 0 additions & 67 deletions src/components/VehicleDeleteForm.component.js

This file was deleted.

77 changes: 0 additions & 77 deletions src/components/VehicleRepairForm.component.js

This file was deleted.

0 comments on commit 4665fe4

Please sign in to comment.