mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
update regenerate documents link
This commit is contained in:
+2
-2
@@ -794,8 +794,8 @@ Route::get('/invoice/{marking}/{started_at}/{ended_at}/fix', function($marking,
|
||||
|
||||
$bookings = $company->bookings()
|
||||
->where('status', ApprovalStatus::COMPLETED)
|
||||
->whereDate('updated_at', '>=', Carbon::parse($started_at))
|
||||
->whereDate('updated_at', '<=', Carbon::parse($ended_at))
|
||||
->whereDate('created_at', '>=', Carbon::parse($started_at))
|
||||
->whereDate('created_at', '<=', Carbon::parse($ended_at))
|
||||
->orderBy('id')
|
||||
->chunk(100, function ($bookings) use (&$processed_invoice) {
|
||||
foreach ($bookings as $booking) {
|
||||
|
||||
Reference in New Issue
Block a user