mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
fix invoice
This commit is contained in:
@@ -491,6 +491,7 @@ Route::get('/invoice/fix', function(){
|
||||
|
||||
Booking::where('status', ApprovalStatus::COMPLETED)
|
||||
->whereDate('updated_at', '>=', Carbon::parse('01-01-2023'))
|
||||
->whereDate('created_at', '<', Carbon::parse('06-09-2023'))
|
||||
->orderBy('id')
|
||||
->chunk(100, function ($bookings) use ($processed_invoice){
|
||||
foreach ($bookings as $booking) {
|
||||
|
||||
Reference in New Issue
Block a user