This commit is contained in:
hafifierahman
2021-03-28 16:47:06 +08:00
parent 14ae96d86c
commit 068ce88579
22 changed files with 393 additions and 259 deletions
@@ -32,8 +32,8 @@
<tr>
<td>{{ $gldetail['tarikh'] }}</td>
<td>{{ $gldetail['descpt'] }}</td>
<td>{{ number_format($gldetail['pendahuluan'],2) }}</td>
<td>{{ number_format($gldetail['serahan'],2) }}</td>
<td>{{ ($gldetail['pendahuluan'] == 0 && ($gldetail['ktacct'] == '7000/102' || $gldetail['ktacct'] == '7000/106')) ? number_format($gldetail['amaun'],2) : number_format($gldetail['pendahuluan'],2) }}</td>
<td>{{ ($gldetail['serahan'] == 0 && ($gldetail['dtacct'] == '1000/026' || $gldetail['dtacct'] == '1000/020' || $gldetail['dtacct'] == '1000/090')) ? number_format($gldetail['amaun'],2) : number_format($gldetail['serahan'],2) }}</td>
</tr>
@endforeach
</tbody>
@@ -184,6 +184,11 @@
let bundle1 = $('#bundle1').val();let bundle5 = $('#bundle5').val();let bundle10 = $('#bundle10').val();
let bundle20 = $('#bundle20').val();let bundle50 = $('#bundle50').val();let bundle100 = $('#bundle100').val();
//denominasi keping
let sen1 = $('#sen1').val();let sen5 = $('#sen5').val();let sen10 = $('#sen10').val();let sen20 = $('#sen20').val();let sen50 = $('#sen50').val();
let ringgit1 = $('#ringgit1').val();let ringgit5 = $('#ringgit5').val();let ringgit10 = $('#ringgit10').val();let ringgit20 = $('#ringgit20').val();let ringgit50 = $('#ringgit50').val();
let ringgit100 = $('#ringgit100').val();
$.ajax({
method: 'post',
url: '{{ route("khazanah.pendahuluanserahanHQ") }}',
@@ -196,12 +201,23 @@
'teller' : teller,
'dtacct' : dtacct,
'ktacct' : ktacct,
'bundle1' : bundle1,
'bundle5' : bundle5,
'bundle10' : bundle10,
'bundle20' : bundle20,
'bundle50' : bundle50,
'bundle100' : bundle100
'ambilansen1' : sen1,
'ambilansen5' : sen5,
'ambilansen10' : sen10,
'ambilansen20' : sen20,
'ambilansen50' : sen50,
'ambilanring1' : ringgit1,
'ambilanring5' : ringgit5,
'ambilanring10' : ringgit10,
'ambilanring20' : ringgit20,
'ambilanring50' : ringgit50,
'ambilanring100' : ringgit100
// 'bundle1' : bundle1,
// 'bundle5' : bundle5,
// 'bundle10' : bundle10,
// 'bundle20' : bundle20,
// 'bundle50' : bundle50,
// 'bundle100' : bundle100
},
success:function(data){
if(data == 'LULUS'){