@php $currency = currency() @endphp
@php $date_format = get_company_option('date_format','Y-m-d'); @endphp
| {{ _lang('Return Date') }} | {{ date($date_format, strtotime($purchase->return_date)) }} |
| {{ _lang('Supplier') }} | {{ isset($purchase->supplier) ? $purchase->supplier->supplier_name : '' }} |
| {{ _lang('Tax') }} | {{ decimalPlace($purchase->tax_amount, $currency) }} |
| {{ _lang('Product Total') }} | {{ decimalPlace($purchase->product_total, $currency) }} |
| {{ _lang('Grand Total') }} | {{ decimalPlace($purchase->grand_total, $currency) }} |
| {{ _lang('Attachemnt') }} | @if($purchase->attachemnt != "") {{ _lang('View') }} @else {{ _lang('Not Availabel !') }}@endif |
| {{ _lang('Note') }} | {{ $purchase->note }} |
| {{ _lang('Name') }} |
{{ _lang('Quantity') }} |
{{ _lang('Unit Cost') }} |
{{ _lang('Discount') }} |
{{ _lang('Tax method') }} |
{{ _lang('Tax') }} |
{{ _lang('Sub Total') }} |
@foreach($purchase->purchase_return_items as $item)
{{ $item->item->item_name }}
{{ $item->description }}
|
{{ decimalPlace($item->quantity, $currency) }} |
{{ decimalPlace($item->unit_cost, $currency) }} |
{{ decimalPlace($item->discount, $currency) }} |
{{ strtoupper($item->item->product->tax_method) }} |
{{ decimalPlace($item->tax_amount, $currency) }} |
{{ decimalPlace($item->sub_total, $currency) }} |
@endforeach