convert many to many to one to many
This commit is contained in:
@@ -13,7 +13,7 @@ class TransportationUnitService
|
||||
public function dataTable(Request $request)
|
||||
{
|
||||
$query = Mission::query()
|
||||
->where('state_id', '=', MissionStates::REQUEST_CREATED->value)
|
||||
->whereIn('state_id', [MissionStates::REQUEST_CREATED->value, MissionStates::PENDING_CONFIRMATION->value])
|
||||
->where('edare_shahri_id', '=', Auth::user()->edarate_shahri_id);
|
||||
|
||||
return DataTableFacade::run(
|
||||
|
||||
Reference in New Issue
Block a user