add new columns to harim cartables

This commit is contained in:
2025-09-16 09:19:36 +03:30
parent a51210ccfa
commit a78a4fdfdc
13 changed files with 38 additions and 33 deletions

View File

@@ -32,7 +32,6 @@ class GeneralManagerController extends Controller
public function index(Request $request): JsonResponse
{
$query = Harim::query()
->whereIn('state_id', [HarimStates::BARESI_TAVASOT_MODIR_KOL->value, HarimStates::BARESI_FILE_APLODE_SHODE_TAVASOTE_MODIR_KOL->value])
->where('edareh_shahri_id', '=', auth()->user()->edarate_shahri_id);
$data = DataTableFacade::run(
@@ -41,6 +40,7 @@ class GeneralManagerController extends Controller
allowedFilters: ['*'],
allowedSortings: ['*']
);
return response()->json($data);
}