Explorar el Código

unflagged installer_id

allo_data_retrieve^2
Siti Hajar Ibrahim hace 5 años
padre
commit
17565c4ec5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Http/Controllers/CustomerService/WorkOrderController.php

+ 1
- 1
app/Http/Controllers/CustomerService/WorkOrderController.php Ver fichero

@@ -288,7 +288,7 @@ class WorkOrderController extends Controller
$product = Product::where('speed', $form->PackageDetail->name)->where('formT', $w->Form->type_application)->first();
$company = Company::where('_id', $w->contractor_id)->first();

info($w->installer_id);
// info($w->installer_id);
if ($w->installer_id != '') {
$installer = Staff::with('StaffDetail')->where('_id', $w->installer_id)->first();
$installer = $installer->StaffDetail->name;

Cargando…
Cancelar
Guardar