Added customer code column and no of days pending and indication colour messages

This commit is contained in:
dhanabalan
2025-11-12 09:45:24 +05:30
parent 9eaf86d347
commit 9a7ea00846
2 changed files with 18 additions and 6 deletions

View File

@@ -79,12 +79,13 @@
<tr>
<th>No</th>
<th>Plant</th>
{{-- <th>Distribution Type</th>
<th>Customer Code</th> --}}
{{-- <th>Distribution Type</th> --}}
<th>Customer Code</th>
<th>Document Number</th>
<th>Document Date</th>
<th>Customer TradeName</th>
<th>Customer Location</th>
<th>Pending Days</th>
<th>Status</th>
</tr>
</thead>
@@ -93,8 +94,8 @@
<tr>
<td>{{ $row['no'] }}</td>
<td>{{ $row['plant'] }}</td>
{{-- <td>{{ $row['distribution_type'] }}</td>
<td>{{ $row['customer_code'] }}</td> --}}
{{-- <td>{{ $row['distribution_type'] }}</td> --}}
<td>{{ $row['customer_code'] }}</td>
<td>{{ $row['document_number'] }}</td>
<td>
@if(!empty($row['document_date']) && $row['document_date'] != '-')
@@ -110,6 +111,7 @@
{{-- <td class="{{ $row['status'] == 'Went Out' ? 'status-wentout' : ($row['status'] == 'Pending' ? 'status-pending' : '') }}">
{{ $row['status'] }}
</td> --}}
<td>{{ $row['no_of_days_pending'] }}</td>
<td class="{{ $row['status_class'] ?? '' }}">
{{ $row['status'] }}
</td>
@@ -118,6 +120,15 @@
</tbody>
</table>
@endif
{{-- <p>* <span class="status-pending-red">Pending</span> - Long Days Pending, <span class="status-pending-yellow">Pending</span> - One Day Pending</p> --}}
<p style="margin-top: 20px;">
<strong>* Pending</strong><br>
<span style="display:inline-block; width:11px; height:11px; background-color:#ff4d4d; border:1px solid #ccc; vertical-align:middle; margin-right:6px;"></span>
- Long Days Pending<br>
<span style="display:inline-block; width:9px; height:9px; background-color:#ffd633; border:1px solid #ccc; vertical-align:middle; margin-right:6px;"></span>
- One Day Pending
</p>
<p>{!! $wishes !!}</p>
</div>
</body>