Merged in feature/autoserahan (pull request #94)

delete all Log add encode_html
This commit is contained in:
Muhd hafifie
2025-04-08 15:54:32 +00:00
2 changed files with 9 additions and 22 deletions
+4 -1
View File
@@ -77,6 +77,9 @@
console.log('this data:',data);
data.forEach((item, index) => {
let currentPage = "{{ $list->currentPage() }}";
let perPage = "{{ $list->perPage() }}";
let rowNumber = (currentPage - 1) * perPage + (index + 1);
let actionBadge = '';
if (item.action === 'create') {
@@ -93,7 +96,7 @@
let row = `
<tr>
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm text-center">${item.id}</td>
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm text-center">${rowNumber}</td>
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm text-center">${item.cawangan_name}</td>
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm text-center">${item.tarikh}</td>
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm text-center">${item.masa}</td>