mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-30 01:43:59 +00:00
dubug completed bookings with unapproved po's
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ Route::get('/mail', function () {
|
||||
});
|
||||
|
||||
Route::get('/test', function () {
|
||||
Auth::login(User::findOrFail(3));
|
||||
// Auth::login(User::findOrFail(3));
|
||||
dd(\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());
|
||||
|
||||
Reference in New Issue
Block a user