@extends('layouts.app') @section('title', 'Sales Details') @section('breadcrumb') @endsection @section('content')
{{ __('Reference') }}: {{ $sale_return->reference }}
{{ __('Print') }}
{{ __('Company Info') }}:
{{ settings()->company_name }}
{{ settings()->company_address }}
@if (settings()->show_email == true)
{{ __('Email') }}: {{ settings()->company_email }}
@endif
{{ __('Phone') }}: {{ settings()->company_phone }}
{{ __('Customer Info') }}:
{{ $customer->name }}
{{ $customer->address }}
{{ __('Email') }}: {{ $customer->email }}
{{ __('Phone') }}: {{ $customer->phone }}
{{ __('Invoice Info') }}:
{{ __('Reference') }}: {{ $sale_return->reference }}
{{ __('Date') }}: {{ format_date($sale_return->date) }}
{{ __('Status') }}: @php $badgeType = $sale_return->status->getBadgeType(); @endphp {{ $sale_return->status->getName() }}
{{ __('Payment Status') }}: @php $type = $sale_return->payment_status->getBadgeType(); @endphp {{ $sale_return->payment_status->getName() }}
@foreach ($sale_return->saleReturnDetails 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) }}
{{ __('Discount') }} ({{ $sale_return->discount_percentage }}%) {{ format_currency($sale_return->discount_amount) }}
{{ __('Tax') }} ({{ $sale_return->tax_percentage }}%) {{ format_currency($sale_return->tax_amount) }}
{{ __('Shipping') }} {{ format_currency($sale_return->shipping_amount) }}
{{ __('Grand Total') }} {{ format_currency($sale_return->total_amount) }}
@endsection