DONE: use flexible name for api call in frontend

This commit is contained in:
ISMAIL MASSERAN
2026-08-09 10:18:26 +08:00
parent 1f8642e230
commit be96576f3d
102 changed files with 523 additions and 146 deletions
@@ -237,7 +237,7 @@
</div>
</div>
<script>
let api_url = "{{ $api_url }}";
let api_url = "{{ api_url_for_browser() }}";
var tablerekod = $('#rekod_komuditi').DataTable( {
"pageLength": 1000,
@@ -54,7 +54,7 @@
</div>
<script>
let api_url = "{{ $api_url }}";
let api_url = "{{ api_url_for_browser() }}";
var tablerekod = $('#rekod_komoditi').DataTable();
$('#tarikh_rekod').datepicker({
format: 'dd/mm/yyyy',