Status Updated
This commit is contained in:
@@ -672,10 +672,15 @@
|
||||
);
|
||||
|
||||
$isTotalColumn = $isTotalQty || $isTotalCbm || $isTotalKg || $isAmount;
|
||||
// row index = headerRowIndex + 1 + offset — ContainerRow मध्ये row_index save आहे
|
||||
$isLockedByInvoice = in_array($row->row_index, $lockedRowIndexes ?? []);
|
||||
$isReadOnly = $isTotalColumn || $container->status !== 'pending' || $isLockedByInvoice;
|
||||
@endphp
|
||||
|
||||
// जर container pending नसेल तर सर्व fields readonly
|
||||
$isReadOnly = $isTotalColumn || $container->status !== 'pending';
|
||||
@endphp
|
||||
@if($loop->first && $isLockedByInvoice)
|
||||
{{-- पहिल्या cell मध्ये lock icon --}}
|
||||
@endif
|
||||
|
||||
<td>
|
||||
<input
|
||||
type="text"
|
||||
|
||||
Reference in New Issue
Block a user