mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
lark push booking transactions
This commit is contained in:
@@ -57,6 +57,7 @@ class LarkPushBookingTransactionsModuleCommand extends Command
|
||||
'transaction_id' => $b->transaction_id,
|
||||
'transaction_type' => $transactionTypeM[$b->transaction_type],
|
||||
'transaction_status' => $statusM[$b->transaction_status],
|
||||
'transaction_bill_no' => $b->transaction_bill_no,
|
||||
'booking_id' => $b->booking_id,
|
||||
'booking_marking' => $b->booking_marking,
|
||||
'company_name' => $b->company_name,
|
||||
|
||||
@@ -79,6 +79,10 @@ class Kernel extends ConsoleKernel
|
||||
// $schedule->command('lark:push-booking-module')
|
||||
// ->hourly()
|
||||
// ->withoutOverlapping();
|
||||
// // Push booking module to Lark
|
||||
$schedule->command('lark:push-booking-transactions-module')
|
||||
->hourly()
|
||||
->withoutOverlapping();
|
||||
}
|
||||
}
|
||||
//Commands Version 1: Before Laravel Vapor/AWS
|
||||
|
||||
@@ -13,6 +13,7 @@ return new class extends Migration
|
||||
t.id AS transaction_id,
|
||||
t.type AS transaction_type,
|
||||
t.status AS transaction_status,
|
||||
t.bill_no AS transaction_bill_no,
|
||||
b.id AS booking_id,
|
||||
b.marking AS booking_marking,
|
||||
c.name AS company_name,
|
||||
|
||||
Reference in New Issue
Block a user