lark push booking transactions

This commit is contained in:
Edmond Lang
2025-10-25 17:21:29 +08:00
parent 9d61b70d1d
commit 8092ededd6
3 changed files with 6 additions and 0 deletions
@@ -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,
+4
View File
@@ -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,