@extends('layouts.app') @section('content')
{{ _lang('View Sales Retrurn') }}
@php $currency = currency() @endphp @php $date_format = get_company_option('date_format','Y-m-d'); @endphp
{{ _lang('Return Date') }}{{ date($date_format, strtotime($sales->return_date)) }}
{{ _lang('Customer') }}{{ isset($sales->customer) ? $sales->customer->contact_name : '' }}
{{ _lang('Tax') }}{{ decimalPlace($sales->tax_amount, $currency) }}
{{ _lang('Product Total') }}{{ decimalPlace($sales->product_total, $currency) }}
{{ _lang('Grand Total') }}{{ decimalPlace($sales->grand_total, $currency) }}
{{ _lang('Attachemnt') }}@if($sales->attachemnt != "") {{ _lang('View') }} @else {{ _lang('Not Availabel !') }}@endif
{{ _lang('Note') }}{{ $sales->note }}
@foreach($sales->sales_return_items as $item) @endforeach
{{ _lang('Name') }} {{ _lang('Quantity') }} {{ _lang('Unit Cost') }} {{ _lang('Discount') }} {{ _lang('Tax method') }} {{ _lang('Tax') }} {{ _lang('Sub Total') }}
{{ $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) }}
@endsection