mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
EXCHANGE-149, EXCHANGE-156 - Bug fixes, clean-up. Updated seeder to create sample transactions
This commit is contained in:
@@ -195,25 +195,25 @@ class FakeBookingTransactions extends Seeder
|
||||
'transaction_id' => null, //fill-up later
|
||||
'product_code' => 'MBP15',
|
||||
'product_name' => 'Macbook Pro 15"',
|
||||
'quantity' => 10,
|
||||
'price' => 100,
|
||||
'amount' => 1000,
|
||||
'quantity' => 3,
|
||||
'price' => 1000,
|
||||
'amount' => 3000,
|
||||
],
|
||||
[
|
||||
'transaction_id' => null, //fill-up later
|
||||
'product_code' => 'IP12',
|
||||
'product_name' => 'iPad Pro 12"',
|
||||
'quantity' => 10,
|
||||
'price' => 100,
|
||||
'amount' => 1000,
|
||||
'quantity' => 3,
|
||||
'price' => 1000,
|
||||
'amount' => 3000,
|
||||
],
|
||||
[
|
||||
'transaction_id' => null, //fill-up later
|
||||
'product_code' => 'IMC24',
|
||||
'product_name' => 'iMac',
|
||||
'quantity' => 10,
|
||||
'price' => 100,
|
||||
'amount' => 1000,
|
||||
'quantity' => 3,
|
||||
'price' => 1000,
|
||||
'amount' => 3000,
|
||||
],
|
||||
];
|
||||
|
||||
@@ -258,8 +258,8 @@ class FakeBookingTransactions extends Seeder
|
||||
$transaction['issuer'] = $company_id;
|
||||
|
||||
$transaction['bill_no'] = $bill_no;
|
||||
$transaction['amount'] = 1000;
|
||||
$transaction['original_amount'] = 1000;
|
||||
$transaction['amount'] = 3000;
|
||||
$transaction['original_amount'] = 3000;
|
||||
|
||||
$transaction['created_at'] = date('Y-m-d H:i:s');
|
||||
$transaction['updated_at'] = date('Y-m-d H:i:s');
|
||||
|
||||
Reference in New Issue
Block a user