Penambahn P1 Dev

This commit is contained in:
Ariyutta
2026-10-20 10:24:22 +07:00
parent 8418a63fc0
commit ee0e6deacc
43 changed files with 5406 additions and 44 deletions
@@ -192,13 +192,17 @@ class PaguController extends Controller
return '?';
}
return 'Rp '.number_format($row->pagu, 0, ',', '.');
return 'Rp. '.number_format($row->pagu, 0, ',', '.');
})
->editColumn('pagu_smt1', function ($row) {
return 'Rp '.number_format($row->pagu_smt1 ?? 0, 0, ',', '.');
->editColumn('pagu_smt1', function ($row) use ($showQuestionMark) {
if ($showQuestionMark) {
return '?';
}
return 'Rp. '.number_format($row->pagu_smt1 ?? 0, 0, ',', '.');
})
->editColumn('pagu_smt2', function ($row) {
return 'Rp '.number_format($row->pagu_smt2 ?? 0, 0, ',', '.');
return 'Rp. '.number_format($row->pagu_smt2 ?? 0, 0, ',', '.');
})
->rawColumns(['action'])
->make(true);