changed model from bookingsupplier to supplier booking

fix supplier booking controller
make payment method nullable for supplier booking
This commit is contained in:
Jack Goh
2018-06-27 12:01:49 +08:00
parent 5dfc6ddeb2
commit d1ce576109
9 changed files with 94 additions and 56 deletions
@@ -12,7 +12,7 @@ class SettingSupplierController extends Controller
$suppliers = SettingSupplier::all();
foreach ($suppliers as $supplier) {
$supplier->value = $supplier->company_name;
$supplier->value = $supplier->id;
$supplier->label = $supplier->company_name;
}
return $suppliers;