The use statement with non-compound name 'Config' has no effect. My code constants file:
return [
'sale_type' => '1',
'payment' => '2',
'bill_type' => '3',
'tax_fixation' => '4',
]
Seeder File:
$sale_type =[
['text' => 'Order Delivery Sale', 'type_id' => Config::get('sales.sale_type')],
['text' => 'Direct Sale', 'type_id' => Config::get('sales.sale_type')],
['text' => 'Advance Sale','type_id' => Config::get('sales.sale_type')],
['text' => 'Promotional Sale', 'type_id' => Config::get('sales.sale_type')],
['text' => 'Online Sale', 'type_id' => Config::get('sales.sale_type')]
];
DB::table('list_type_selection')->insert(
$sale_type
);
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/374mF7h
via IFTTT
Aucun commentaire:
Enregistrer un commentaire