Selaa lähdekoodia

edit calling created_by method in marketing controller

ifah
Siti Hajar Ibrahim 5 vuotta sitten
vanhempi
commit
ed12330328
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      app/Http/Controllers/DS/MarketingController.php

+ 1
- 1
app/Http/Controllers/DS/MarketingController.php Näytä tiedosto

@@ -1638,7 +1638,7 @@ class MarketingController extends Controller
$product = $product->package_name;
}

$created_by = Staff::with('StaffDetail')->find($wo->created_by)->first();
$created_by = Staff::with('StaffDetail')->where("_id",$wo->created_by)->first();
if(empty($created_by)){
$created_by = '';
}

Loading…
Peruuta
Tallenna