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
);
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire