mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-25 15:34:02 +00:00
dubug completed bookings with unapproved po's
This commit is contained in:
@@ -68,22 +68,5 @@ Route::get('/transfer/merge/{marking}', function ($marking) {
|
||||
return view('pages.booking_merge', ['marking' => $marking]);
|
||||
})->name('booking.merge');
|
||||
|
||||
Route::get('/mail', function () {
|
||||
echo route('login');
|
||||
});
|
||||
|
||||
Route::get('/test', function () {
|
||||
Auth::login(User::findOrFail(3));
|
||||
$bookings = \App\Models\Booking::where('status', '=', \App\Classes\ValueObjects\Constants\ApprovalStatus::COMPLETED)->whereHas('transactions', function (Builder $query){
|
||||
$query->where('type', '=', \App\Classes\ValueObjects\Constants\TransactionType::PURCHASE_ORDER)->where('status', '!=', \App\Classes\ValueObjects\Constants\ApprovalStatus::APPROVED);
|
||||
})->get();
|
||||
|
||||
dd($bookings);
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Route::get('/export/customers/f614e339d7058904a831aad742e24d55', 'Exports\ExportCustomersToExcelController@export');
|
||||
Route::get('/export/transactions/f614e339d7058904a831aad742e24d55', 'Exports\ExportCustomersToExcelController@transactions');
|
||||
|
||||
Reference in New Issue
Block a user