@section('title', __('Sale Details')) @extends('layouts.print') @section('content')

@foreach ($sale->saleDetails as $item) @endforeach
{{ __('Product') }} {{ __('Net Unit Price') }} {{ __('Quantity') }} {{ __('Discount') }} {{ __('Tax') }} {{ __('Sub Total') }}
{{ $item->name }}
{{ $item->code }}
{{ format_currency($item->unit_price) }} {{ $item->quantity }} {{ format_currency($item->product_discount_amount) }} {{ format_currency($item->product_tax_amount) }} {{ format_currency($item->sub_total) }}
@if ($sale->discount_percentage) @endif @if ($sale->tax_percentage) @endif @if (settings()->show_shipping == true) @endif
{{ __('Discount') }} ({{ $sale->discount_percentage }}%) {{ format_currency($sale->discount_amount) }}
{{ __('Tax') }} ({{ $sale->tax_percentage }}%) {{ format_currency($sale->tax_amount) }}
{{ __('Shipping') }} {{ format_currency($sale->shipping_amount) }}
{{ __('Grand Total') }} {{ format_currency($sale->total_amount) }}
@endsection