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)
{
+2 -1
View File
@@ -489,7 +489,8 @@
});
var tablegadai = $('#myTable').DataTable({
"scrollX": false
"scrollX": false,
order: [[1,'desc']]
});
var xtawarruq = $('#xtawarruq').DataTable({
+3 -2
View File
@@ -246,7 +246,7 @@
No KP
</div>
<div class='col-md-7'>
<input type="text" readonly name='icno' id='icno' value="{{ $customer_info['kpbaru'] }}" class='form-control'>
<input type="text" readonly name='icno' id='icno' value="{{ $customer_info['kpbaru'] ? $customer_info['kpbaru'] : $customer_info['kplama'] }}" class='form-control'>
</div>
</div>
<div class='form-group row col-md-12'>
@@ -447,7 +447,8 @@
var tablegadai = $('#myTable').DataTable({
"scrollX": true
"scrollX": true,
order: [[1,'desc']]
});
var xtawarruq = $('#xtawarruq').DataTable({