fix khazanah noic with kplama, ordering for norujukan and aliran tunai will show who working in that days.

This commit is contained in:
hafifierahman
2023-05-03 00:47:55 +08:00
parent 72c1b39172
commit a2f1ea2a54
3 changed files with 10 additions and 4 deletions
+5 -1
View File
@@ -323,7 +323,11 @@ class KhazanahController extends Controller
$arrayaddtunai = [];
$teller = Http::withOptions(['verify' => config('app.api_verify')])->get( config('api.url') .'/api/get/tellerwork/'. $auth_user['cawangan'])->json();
// $teller = Http::withOptions(['verify' => config('app.api_verify')])->get( config('api.url') .'/api/get/tellerwork/'. $auth_user['cawangan'])->json();
$teller = User::select('name as kodlaluan')->where('cawangan',$auth_user['cawangan'])
->whereIn('roles',['teller','ppc','pc','khazanah'])
->get()->toArray();
foreach($teller as $index1 => $ls)
{