@lang('messages.date'): {{ @format_date($sell->transaction_date) }}
# | {{ __('sale.product') }} | @if( session()->get('business.enable_lot_number') == 1){{ __('lang_v1.lot_n_expiry') }} | @endif{{ __('sale.qty') }} | {{ __('sale.unit_price') }} | {{ __('sale.discount') }} | {{ __('sale.tax') }} | {{ __('sale.price_inc_tax') }} | {{ __('sale.subtotal') }} |
---|---|---|---|---|---|---|---|---|
{{ $loop->iteration }} |
{{ $sell_line->product->name }}
@if( $sell_line->product->type == 'variable')
- {{ $sell_line->variations->product_variation->name or ''}}
- {{ $sell_line->variations->name or ''}},
@endif
{{ $sell_line->variations->sub_sku or ''}}
@php
$brand = $sell_line->product->brand;
@endphp
@if(!empty($brand->name))
, {{$brand->name}}
@endif
@if(!empty($sell_line->sell_line_note))
{{$sell_line->sell_line_note}} @endif |
@if( session()->get('business.enable_lot_number') == 1)
{{ $sell_line->lot_details->lot_number or '--' }} @if( session()->get('business.enable_product_expiry') == 1 && !empty($sell_line->lot_details->exp_date)) ({{@format_date($sell_line->lot_details->exp_date)}}) @endif | @endif{{ $sell_line->quantity }} | {{ $sell_line->unit_price }} | {{ $sell_line->get_discount_amount() }} @if($sell_line->line_discount_type == 'percentage') ({{$sell_line->line_discount_amount}}%) @endif | {{ $sell_line->item_tax }} @if(!empty($taxes[$sell_line->tax_id])) ( {{ $taxes[$sell_line->tax_id]}} ) @endif | {{ $sell_line->unit_price_inc_tax }} | {{ $sell_line->quantity * $sell_line->unit_price_inc_tax }} |
{{ $modifier->product->name }} - {{ $modifier->variations->name or ''}}, {{ $modifier->variations->sub_sku or ''}} | @if( session()->get('business.enable_lot_number') == 1)@endif | {{ $modifier->quantity }} | {{ $modifier->unit_price }} | {{ $modifier->item_tax }} @if(!empty($taxes[$modifier->tax_id])) ( {{ $taxes[$modifier->tax_id]}} ) @endif | {{ $modifier->unit_price_inc_tax }} | {{ $modifier->quantity * $modifier->unit_price_inc_tax }} |
# | {{ __('messages.date') }} | {{ __('purchase.ref_no') }} | {{ __('sale.amount') }} | {{ __('sale.payment_mode') }} | {{ __('sale.payment_note') }} |
---|---|---|---|---|---|
{{ $loop->iteration }} | {{ @format_date($payment_line->paid_on) }} | {{ $payment_line->payment_ref_no }} | {{ $payment_line->amount }} |
{{ $payment_types[$payment_line->method] or $payment_line->method }}
@if($payment_line->is_return == 1)
( {{ __('lang_v1.change_return') }} ) @endif |
@if($payment_line->note) {{ ucfirst($payment_line->note) }} @else -- @endif |
{{ __('sale.total') }}: | {{ $sell->total_before_tax }} | |
---|---|---|
{{ __('sale.discount') }}: | (-) | {{ $sell->discount_amount }} @if( $sell->discount_type == 'percentage') {{ '%'}} @endif |
{{ __('sale.order_tax') }}: | (+) |
@if(!empty($order_taxes))
@foreach($order_taxes as $k => $v)
{{$k}} - {{ $v }} @endforeach @else 0.00 @endif |
{{ __('sale.shipping') }}: @if($sell->shipping_details)({{$sell->shipping_details}}) @endif | (+) | {{ $sell->shipping_charges }} |
{{ __('sale.total_payable') }}: | {{ $sell->final_total }} | |
{{ __('sale.total_paid') }}: | {{ $total_paid }} | |
{{ __('sale.total_remaining') }}: | {{ $sell->final_total - $total_paid }} |
@if($sell->additional_notes) {{ $sell->additional_notes }} @else -- @endif
@if($sell->staff_note) {{ $sell->staff_note }} @else -- @endif