Viewing file: TransactionsTableSeeder.php (77.85 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Database\Seeders;
use App\Models\Order;
use Illuminate\Database\Seeder;
class TransactionsTableSeeder extends Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
\DB::table('transactions')->delete();
$orders = Order::get();
$transactions = array(
0 =>
array(
'id' => 1,
'user_id' => 3,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => NULL,
'order_id' => NULL,
'withdrawal_method_id' => 2,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '25.00000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '25.00000000',
'transaction_type' => 'Withdrawal',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Pending',
),
1 =>
array(
'id' => 2,
'user_id' => 2,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 1,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '925.11900000',
'total_amount' => '925.11900000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
2 =>
array(
'id' => 3,
'user_id' => 2,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 1,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '925.11900000',
'total_amount' => '925.11900000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '1',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
3 =>
array(
'id' => 4,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 1,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '12.00000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '12.00000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '1',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
4 =>
array(
'id' => 5,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 1,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '12.00000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '12.00000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '1',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
5 =>
array(
'id' => 6,
'user_id' => 15,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 1,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '8.10000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '8.10000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '2',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
6 =>
array(
'id' => 7,
'user_id' => 15,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 1,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '8.10000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '8.10000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '2',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
7 =>
array(
'id' => 8,
'user_id' => 15,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 1,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '6.45000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '6.45000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '3',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
8 =>
array(
'id' => 9,
'user_id' => 15,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 1,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '6.45000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '6.45000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '3',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
9 =>
array(
'id' => 10,
'user_id' => 2,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 2,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '42.02400000',
'total_amount' => '42.02400000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
10 =>
array(
'id' => 11,
'user_id' => 2,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 2,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '42.02400000',
'total_amount' => '42.02400000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '4',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
11 =>
array(
'id' => 12,
'user_id' => 18,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 2,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '1.20000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '1.20000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '4',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
12 =>
array(
'id' => 13,
'user_id' => 18,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 2,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '1.20000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '1.20000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '4',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
13 =>
array(
'id' => 14,
'user_id' => 2,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 3,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '28.26500000',
'total_amount' => '28.26500000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
14 =>
array(
'id' => 15,
'user_id' => 2,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 3,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '28.26500000',
'total_amount' => '28.26500000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '5',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
15 =>
array(
'id' => 16,
'user_id' => 2,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 6,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '391.72200000',
'total_amount' => '391.72200000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
16 =>
array(
'id' => 17,
'user_id' => 2,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 6,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '391.72200000',
'total_amount' => '391.72200000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '8',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
17 =>
array(
'id' => 18,
'user_id' => 4,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '21.12000000',
'total_amount' => '21.12000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
18 =>
array(
'id' => 19,
'user_id' => 4,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '361.50000000',
'total_amount' => '361.50000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
19 =>
array(
'id' => 20,
'user_id' => 4,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '93.54000000',
'total_amount' => '93.54000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
20 =>
array(
'id' => 21,
'user_id' => 4,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '21.12000000',
'total_amount' => '21.12000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '9',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
21 =>
array(
'id' => 22,
'user_id' => 4,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '361.50000000',
'total_amount' => '361.50000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '10',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
22 =>
array(
'id' => 23,
'user_id' => 4,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '93.54000000',
'total_amount' => '93.54000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '11',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
23 =>
array(
'id' => 24,
'user_id' => 18,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '2.31000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '2.31000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '11',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
24 =>
array(
'id' => 25,
'user_id' => 18,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '2.31000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '2.31000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '11',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
25 =>
array(
'id' => 26,
'user_id' => 15,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '9.75000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '9.75000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '10',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
26 =>
array(
'id' => 27,
'user_id' => 15,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '9.75000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '9.75000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '10',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
27 =>
array(
'id' => 28,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '0.18000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '0.18000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '9',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
28 =>
array(
'id' => 29,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 7,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '0.18000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '0.18000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '9',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
29 =>
array(
'id' => 30,
'user_id' => 6,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 9,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '152.96000000',
'total_amount' => '152.96000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
30 =>
array(
'id' => 31,
'user_id' => 6,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 9,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '26.50000000',
'total_amount' => '26.50000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
31 =>
array(
'id' => 32,
'user_id' => 6,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 17,
'order_id' => 9,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '26.50000000',
'total_amount' => '26.50000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
32 =>
array(
'id' => 33,
'user_id' => 6,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 9,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '152.96000000',
'total_amount' => '152.96000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '14',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
33 =>
array(
'id' => 34,
'user_id' => 6,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 9,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '26.50000000',
'total_amount' => '26.50000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '16',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
34 =>
array(
'id' => 35,
'user_id' => 6,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 17,
'order_id' => 9,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '26.50000000',
'total_amount' => '26.50000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '17',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
35 =>
array(
'id' => 36,
'user_id' => 20,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 10,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '10.40480000',
'total_amount' => '10.40480000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
36 =>
array(
'id' => 37,
'user_id' => 20,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 10,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '301.00000000',
'total_amount' => '301.00000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
37 =>
array(
'id' => 38,
'user_id' => 20,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 10,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '10.40480000',
'total_amount' => '10.40480000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '18',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
38 =>
array(
'id' => 39,
'user_id' => 20,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 10,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '301.00000000',
'total_amount' => '301.00000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '20',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
39 =>
array(
'id' => 40,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 10,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '0.18000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '0.18000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '18',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
40 =>
array(
'id' => 41,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 10,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '0.18000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '0.18000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '18',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
41 =>
array(
'id' => 42,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 10,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '0.06000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '0.06000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '19',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
42 =>
array(
'id' => 43,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 10,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '0.06000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '0.06000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '19',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
43 =>
array(
'id' => 44,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 10,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '9.00000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '9.00000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '20',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
44 =>
array(
'id' => 45,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 10,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '9.00000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '9.00000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '20',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
45 =>
array(
'id' => 46,
'user_id' => 6,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 11,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '332.50000000',
'total_amount' => '332.50000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
46 =>
array(
'id' => 47,
'user_id' => 6,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 11,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '118.08000000',
'total_amount' => '118.08000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
47 =>
array(
'id' => 48,
'user_id' => 6,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 11,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '332.50000000',
'total_amount' => '332.50000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '21',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
48 =>
array(
'id' => 49,
'user_id' => 6,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 11,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '118.08000000',
'total_amount' => '118.08000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '22',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
49 =>
array(
'id' => 50,
'user_id' => 7,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '21.12000000',
'total_amount' => '21.12000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
50 =>
array(
'id' => 51,
'user_id' => 7,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '337.44000000',
'total_amount' => '337.44000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
51 =>
array(
'id' => 52,
'user_id' => 7,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '21.12000000',
'total_amount' => '21.12000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '24',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
52 =>
array(
'id' => 53,
'user_id' => 7,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '337.44000000',
'total_amount' => '337.44000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '25',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
53 =>
array(
'id' => 54,
'user_id' => 9,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 2,
'order_id' => 13,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '50.00000000',
'total_amount' => '50.00000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
54 =>
array(
'id' => 55,
'user_id' => 9,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 2,
'order_id' => 13,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '50.00000000',
'total_amount' => '50.00000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '29',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
55 =>
array(
'id' => 56,
'user_id' => 8,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 14,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '1278.18000000',
'total_amount' => '1278.18000000',
'transaction_type' => 'Order_actual_price',
'transaction_date' => now(),
'reference_number' => NULL,
'reference_type' => NULL,
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
56 =>
array(
'id' => 57,
'user_id' => 8,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 14,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => NULL,
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => '1278.18000000',
'total_amount' => '1278.18000000',
'transaction_type' => 'Vendor_transaction_actual_price',
'transaction_date' => now(),
'reference_number' => '30',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
57 =>
array(
'id' => 58,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 11,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '9.75000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '9.75000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '21',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
58 =>
array(
'id' => 59,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 11,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '9.75000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '9.75000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '21',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
59 =>
array(
'id' => 60,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 11,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '0.30000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '0.30000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '22',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
60 =>
array(
'id' => 61,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 11,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '0.30000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '0.30000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '22',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
61 =>
array(
'id' => 62,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 11,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '3.12000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '3.12000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '23',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
62 =>
array(
'id' => 63,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 11,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '3.12000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '3.12000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '23',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
63 =>
array(
'id' => 64,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '0.18000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '0.18000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '24',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
64 =>
array(
'id' => 65,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 1,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '0.18000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '0.18000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '24',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
65 =>
array(
'id' => 66,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '1.35000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '1.35000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '25',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
66 =>
array(
'id' => 67,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '1.35000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '1.35000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '25',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
67 =>
array(
'id' => 68,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '2.25000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '2.25000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '26',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
68 =>
array(
'id' => 69,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '2.25000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '2.25000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '26',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
69 =>
array(
'id' => 70,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '2.25000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '2.25000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '27',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
70 =>
array(
'id' => 71,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '2.25000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '2.25000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '27',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
71 =>
array(
'id' => 72,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '2.31000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '2.31000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '28',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
72 =>
array(
'id' => 73,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '2.31000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '2.31000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '28',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
73 =>
array(
'id' => 74,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 2,
'order_id' => 13,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '1.50000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '1.50000000',
'transaction_type' => 'Vendor_commission',
'transaction_date' => now(),
'reference_number' => '29',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
74 =>
array(
'id' => 75,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 2,
'order_id' => 13,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '1.50000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '1.50000000',
'transaction_type' => 'Admin_commission',
'transaction_date' => now(),
'reference_number' => '29',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
75 =>
array(
'id' => 76,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 16,
'order_id' => 1,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '6.45000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '6.45000000',
'transaction_type' => 'Refund_commission',
'transaction_date' => now(),
'reference_number' => '3',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
76 =>
array(
'id' => 77,
'user_id' => 1,
'currency_id' => 3,
'account_id' => NULL,
'shop_id' => NULL,
'vendor_id' => 19,
'order_id' => 12,
'withdrawal_method_id' => NULL,
'exchange_currency_id' => NULL,
'exchange_rate' => NULL,
'amount' => '2.25000000',
'charge_amount' => NULL,
'commission_amount' => NULL,
'discount_amount' => NULL,
'paid_amount' => NULL,
'total_amount' => '2.25000000',
'transaction_type' => 'Refund_commission',
'transaction_date' => now(),
'reference_number' => '27',
'reference_type' => 'order_details',
'description' => NULL,
'params' => NULL,
'status' => 'Accepted',
),
);
foreach ($transactions as $transaction) {
$order = $orders->where('id', $transaction['order_id'])->first();
if ($order) {
$transaction['transaction_date'] = $order['order_date'];
}
\DB::table('transactions')->insert($transaction);
}
}
}
|