@php
$products_count = 0;
$supplier_count = 0;
$purchase_status = '';
@endphp
@if (isset($purchase))
@php
$purchase_status = $purchase->status;
@endphp
@foreach ($purchase['products']->sortBy(function ($t) {
return $t->product->name;
}) as $product)
|
|
|
status != 'Pending') readonly @endif>
@if(isset($product->converted_value))
@endif
|
status != 'Pending') readonly @endif>
|
status != 'Pending') readonly @endif>
|
status != 'Pending') readonly @endif>
|
status != 'Pending') readonly @endif>
|
View
|
{{-- --}}
|
|
|
@php
$products_count++;
@endphp
@endforeach
@elseif(old('products'))
@foreach (old('products') as $product)
|
|
|
|
|
{{-- --}}
|
@php
$products_count++;
@endphp
@endforeach
@endif