Refactor invoice report generation to include quantity metrics and enhance email content structure

This commit is contained in:
dhanabalan
2025-08-26 18:08:06 +05:30
parent e57962f023
commit 19e1f12f5d
5 changed files with 195 additions and 392 deletions

View File

@@ -98,6 +98,8 @@
<th>Plant</th>
<th>Total Number of Invoice</th>
<th>Scanned Number of Invoice</th>
<th>Total Invoice Quantity</th>
<th>Scanned Invoice Quantity</th>
</tr>
</thead>
<tbody>
@@ -107,6 +109,8 @@
<td style="white-space: nowrap;">{{ $row['plant'] }}</td>
<td>{{ $row['totalInvoice'] }}</td>
<td>{{ $row['scannedInvoice'] }}</td>
<td>{{ $row['totalInvoiceQuan'] }}</td>
<td>{{ $row['scannedInvoiceQuan'] }}</td>
</tr>
@endforeach
</tbody>
@@ -123,6 +127,8 @@
<th>Plant</th>
<th>Total Number of Invoice</th>
<th>Scanned Number of Invoice</th>
<th>Total Invoice Quantity</th>
<th>Scanned Invoice Quantity</th>
</tr>
</thead>
<tbody>
@@ -132,6 +138,8 @@
<td style="white-space: nowrap;">{{ $row['plant'] }}</td>
<td>{{ $row['totalInvoice'] }}</td>
<td>{{ $row['scannedInvoice'] }}</td>
<td>{{ $row['totalInvoiceQuan'] }}</td>
<td>{{ $row['scannedInvoiceQuan'] }}</td>
</tr>
@endforeach
</tbody>
@@ -148,6 +156,9 @@
<th>Plant</th>
<th>Total Number of Invoice</th>
<th>Scanned Number of Invoice</th>
<th>Scanned Number of Invoice</th>
<th>Total Invoice Quantity</th>
<th>Scanned Invoice Quantity</th>
</tr>
</thead>
<tbody>
@@ -157,6 +168,8 @@
<td style="white-space: nowrap;">{{ $row['plant'] }}</td>
<td>{{ $row['totalInvoice'] }}</td>
<td>{{ $row['scannedInvoice'] }}</td>
<td>{{ $row['totalInvoiceQuan'] }}</td>
<td>{{ $row['scannedInvoiceQuan'] }}</td>
</tr>
@endforeach
</tbody>