Merge pull request 'changed logic production target blade file' (#1136) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 34s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 34s
Reviewed-on: #1136
This commit was merged in pull request #1136.
This commit is contained in:
@@ -18,35 +18,37 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody class="divide-y divide-gray-100">
|
<tbody class="divide-y divide-gray-100">
|
||||||
@forelse ($monthlyRecords as $index => $record)
|
|
||||||
<tr class="hover:bg-gray-50">
|
|
||||||
|
|
||||||
<td class="border px-4 py-2">
|
@if (!empty($records))
|
||||||
{{ $index + 1 }}
|
<tr class="hover:bg-gray-50">
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="border px-4 py-2 whitespace-nowrap">
|
<td class="border px-4 py-2">
|
||||||
{{ $record['plant_name'] }}
|
1
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="border px-4 py-2 whitespace-nowrap">
|
<td class="border px-4 py-2 whitespace-nowrap">
|
||||||
{{ $record['line_name'] }}
|
{{ $records[0]['plant_name'] ?? '-' }}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="border px-4 py-2 whitespace-nowrap font-semibold">
|
<td class="border px-4 py-2 whitespace-nowrap">
|
||||||
{{ $monthlyRecords ?? 0 }}
|
{{ $records[0]['line_name'] ?? '-' }}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
<td class="border px-4 py-2 whitespace-nowrap font-semibold">
|
||||||
@empty
|
{{ $monthlyRecords ?? 0 }}
|
||||||
<tr>
|
</td>
|
||||||
<td colspan="4" class="px-4 py-4 text-center text-gray-500">
|
|
||||||
No monthly production plan data found.
|
</tr>
|
||||||
</td>
|
@else
|
||||||
</tr>
|
<tr>
|
||||||
@endforelse
|
<td colspan="4" class="px-4 py-4 text-center text-gray-500">
|
||||||
</tbody>
|
No monthly production plan data found.
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user