@lang('messages.date'): {{@format_date($purchase->transaction_date)}}
@lang('purchase.business_location'): {{ $purchase->location->name }}
# | @lang('product.product_name') | @lang('sale.unit_price') | @lang('purchase.purchase_quantity') | @lang('lang_v1.quantity_left') | @lang('lang_v1.return_quantity') | @lang('lang_v1.return_subtotal') |
---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $purchase_line->product->name }} @if( $purchase_line->product->type == 'variable') - {{ $purchase_line->variations->product_variation->name}} - {{ $purchase_line->variations->name}} @endif | {{ $purchase_line->purchase_price_inc_tax }} | {{ $purchase_line->quantity }} {{$unit_name}} | {{ $qty_available }} {{$unit_name}} | @php $check_decimal = 'false'; if($purchase_line->product->unit->allow_decimal == 0){ $check_decimal = 'true'; } @endphp product->enable_stock) data-rule-max-value="{{$qty_available}}" data-msg-max-value="@lang('validation.custom-messages.quantity_not_available', ['qty' => $purchase_line->formatted_qty_available, 'unit' => $unit_name ])" @endif > |