admin/customer.php 1 location
|
@@ 352-362 (lines=11) @@
|
349 |
|
} |
350 |
|
break; |
351 |
|
|
352 |
|
case 'clone': |
353 |
|
|
354 |
|
$id_field = Request::getString('id', ''); |
355 |
|
|
356 |
|
if (EquipmentUtility::cloneRecord('equipment_customer', 'id', $id_field)) { |
357 |
|
redirect_header('customer.php', 3, AM_EQUIPMENT_CLONED_OK); |
358 |
|
} else { |
359 |
|
redirect_header('customer.php', 3, AM_EQUIPMENT_CLONED_FAILED); |
360 |
|
} |
361 |
|
|
362 |
|
break; |
363 |
|
} |
364 |
|
require_once __DIR__ . '/admin_footer.php'; |
365 |
|
|
admin/equipment.php 1 location
|
@@ 367-377 (lines=11) @@
|
364 |
|
} |
365 |
|
break; |
366 |
|
|
367 |
|
case 'clone': |
368 |
|
|
369 |
|
$id_field = Request::getString('id', ''); |
370 |
|
|
371 |
|
if (EquipmentUtility::cloneRecord('equipment_equipment', 'id', $id_field)) { |
372 |
|
redirect_header('equipment.php', 3, AM_EQUIPMENT_CLONED_OK); |
373 |
|
} else { |
374 |
|
redirect_header('equipment.php', 3, AM_EQUIPMENT_CLONED_FAILED); |
375 |
|
} |
376 |
|
|
377 |
|
break; |
378 |
|
} |
379 |
|
require_once __DIR__ . '/admin_footer.php'; |
380 |
|
|
admin/rentals.php 1 location
|
@@ 233-243 (lines=11) @@
|
230 |
|
} |
231 |
|
break; |
232 |
|
|
233 |
|
case 'clone': |
234 |
|
|
235 |
|
$id_field = Request::getString('id', ''); |
236 |
|
|
237 |
|
if (EquipmentUtility::cloneRecord('equipment_rentals', 'id', $id_field)) { |
238 |
|
redirect_header('rentals.php', 3, AM_EQUIPMENT_CLONED_OK); |
239 |
|
} else { |
240 |
|
redirect_header('rentals.php', 3, AM_EQUIPMENT_CLONED_FAILED); |
241 |
|
} |
242 |
|
|
243 |
|
break; |
244 |
|
} |
245 |
|
require_once __DIR__ . '/admin_footer.php'; |
246 |
|
|