update tagbaru dalam blade notis peringatan arcc

This commit is contained in:
BTMS2
2024-09-04 10:21:33 +08:00
parent 368cd052e4
commit 9b83f78f37
9 changed files with 45 additions and 3 deletions
@@ -160,7 +160,11 @@
<td align = 'right' style="white-space: nowrap;">{{number_format($item['datagadai']['bakipjm'], 2, '.', ',')}}</td>
<td align = 'right' style="white-space: nowrap;">{{number_format($item['datagadai']['bakiupah'], 2, '.', ',')}}</td>
<td align = 'right' style="white-space: nowrap;">{{number_format($item['datagadai']['hargajualan']-$item['datagadai']['bakihargajualan'], 2, '.', ',')}}</td>
@if($item['datagadai']['tagbaru'] == '0')
<td align = 'right' style="white-space: nowrap;">{{number_format($item['keuntungan'], 2, '.', ',')}}</td>
@elseif($item['datagadai']['tagbaru'] == '1')
<td align = 'right' style="white-space: nowrap;">{{number_format($item['keuntungan']['ujrah']+$item['keuntungan']['onepercent'], 2, '.', ',')}}</td>
@endif
<td align = 'right' style="white-space: nowrap;"><b>
@if($item['tmatang'] == null)
@else