@@ -12,7 +12,7 @@ public partial class VehicleController
1212 public IActionResult GetPlanRecordsByVehicleId ( int vehicleId )
1313 {
1414 var result = _planRecordDataAccess . GetPlanRecordsByVehicleId ( vehicleId ) ;
15- return PartialView ( "_PlanRecords" , result ) ;
15+ return PartialView ( "Plan/ _PlanRecords" , result ) ;
1616 }
1717 [ HttpPost ]
1818 public IActionResult SavePlanRecordToVehicleId ( PlanRecordInput planRecord )
@@ -72,7 +72,7 @@ public IActionResult SavePlanRecordTemplateToVehicleId(PlanRecordInput planRecor
7272 public IActionResult GetPlanRecordTemplatesForVehicleId ( int vehicleId )
7373 {
7474 var result = _planRecordTemplateDataAccess . GetPlanRecordTemplatesByVehicleId ( vehicleId ) ;
75- return PartialView ( "_PlanRecordTemplateModal" , result ) ;
75+ return PartialView ( "Plan/ _PlanRecordTemplateModal" , result ) ;
7676 }
7777 [ HttpPost ]
7878 public IActionResult DeletePlanRecordTemplateById ( int planRecordTemplateId )
@@ -106,7 +106,7 @@ public IActionResult OrderPlanSupplies(int planRecordTemplateId)
106106 if ( existingRecord . Supplies . Any ( ) )
107107 {
108108 var suppliesToOrder = CheckSupplyRecordsAvailability ( existingRecord . Supplies ) ;
109- return PartialView ( "_PlanOrderSupplies" , suppliesToOrder ) ;
109+ return PartialView ( "Plan/ _PlanOrderSupplies" , suppliesToOrder ) ;
110110 }
111111 else
112112 {
@@ -166,17 +166,17 @@ public IActionResult ConvertPlanRecordTemplateToPlanRecord(int planRecordTemplat
166166 [ HttpGet ]
167167 public IActionResult GetAddPlanRecordPartialView ( )
168168 {
169- return PartialView ( "_PlanRecordModal" , new PlanRecordInput ( ) { ExtraFields = _extraFieldDataAccess . GetExtraFieldsById ( ( int ) ImportMode . PlanRecord ) . ExtraFields } ) ;
169+ return PartialView ( "Plan/ _PlanRecordModal" , new PlanRecordInput ( ) { ExtraFields = _extraFieldDataAccess . GetExtraFieldsById ( ( int ) ImportMode . PlanRecord ) . ExtraFields } ) ;
170170 }
171171 [ HttpPost ]
172172 public IActionResult GetAddPlanRecordPartialView ( PlanRecordInput ? planModel )
173173 {
174174 if ( planModel is not null )
175175 {
176176 planModel . ExtraFields = _extraFieldDataAccess . GetExtraFieldsById ( ( int ) ImportMode . PlanRecord ) . ExtraFields ;
177- return PartialView ( "_PlanRecordModal" , planModel ) ;
177+ return PartialView ( "Plan/ _PlanRecordModal" , planModel ) ;
178178 }
179- return PartialView ( "_PlanRecordModal" , new PlanRecordInput ( ) { ExtraFields = _extraFieldDataAccess . GetExtraFieldsById ( ( int ) ImportMode . PlanRecord ) . ExtraFields } ) ;
179+ return PartialView ( "Plan/ _PlanRecordModal" , new PlanRecordInput ( ) { ExtraFields = _extraFieldDataAccess . GetExtraFieldsById ( ( int ) ImportMode . PlanRecord ) . ExtraFields } ) ;
180180 }
181181 [ HttpPost ]
182182 public IActionResult UpdatePlanRecordProgress ( int planRecordId , PlanProgress planProgress , int odometer = 0 )
@@ -268,7 +268,7 @@ public IActionResult UpdatePlanRecordProgress(int planRecordId, PlanProgress pla
268268 public IActionResult GetPlanRecordTemplateForEditById ( int planRecordTemplateId )
269269 {
270270 var result = _planRecordTemplateDataAccess . GetPlanRecordTemplateById ( planRecordTemplateId ) ;
271- return PartialView ( "_PlanRecordTemplateEditModal" , result ) ;
271+ return PartialView ( "Plan/ _PlanRecordTemplateEditModal" , result ) ;
272272 }
273273 [ HttpGet ]
274274 public IActionResult GetPlanRecordForEditById ( int planRecordId )
@@ -297,7 +297,7 @@ public IActionResult GetPlanRecordForEditById(int planRecordId)
297297 ReminderRecordId = result . ReminderRecordId ,
298298 ExtraFields = StaticHelper . AddExtraFields ( result . ExtraFields , _extraFieldDataAccess . GetExtraFieldsById ( ( int ) ImportMode . PlanRecord ) . ExtraFields )
299299 } ;
300- return PartialView ( "_PlanRecordModal" , convertedResult ) ;
300+ return PartialView ( "Plan/ _PlanRecordModal" , convertedResult ) ;
301301 }
302302 [ HttpPost ]
303303 public IActionResult DeletePlanRecordById ( int planRecordId )
0 commit comments