@extends('layouts.horizontal', ['title' => 'Return Note', 'topbarTitle' => 'Return Note', 'nonav' => true]) @section('css') @endsection @section('content')

New Return Note For Order #{{ $order[0]['franchise_order_id'] }}

{{$franchise->franchise_name}}
NTN {{$franchise->franchise_ntn ?? ''}}
@if (!empty($franchise->franchise_email))
{{$franchise->franchise_email}}
@endif @if (!empty($franchise->franchise_office_phone))
{{$franchise->franchise_office_phone}}
@endif {{$franchise->franchise_address ?? '' }}
@if (isset($order_detail->invoice_number) && !empty($order_detail->invoice_number))

Invoice: #{{ $order_detail->invoice_number }}

@endif
Order: #{{ $order[0]['franchise_order_id'] }}
@if (isset($order[0]['formatted_invoice_date']) && !empty($order[0]['formatted_invoice_date']))
Invoice Date: {{$order[0]['formatted_invoice_date']}}
@endif @if (isset($order[0]['due_date']) && !empty($order[0]['due_date']))
Due Date: {{$order[0]['due_date']}}
@endif @if (isset($order[0]['created_by']) && !empty($order[0]['created_by']))
Agent: {{$order_detail->created_by}}
@endif
{{-- --}}
# Item Unit Price Invoiced Qty. Already Returned. Return Qty. Total Price Unit Disc Total Price Tax(%) Value Inclusive of Tax
{{($total_qty)}} {{ $already_returned_qty}} {{($total_qty)}} {{($subtotal)}}{{($totalproduct_discount)}} {{($total_price_bf_tax)}} {{($total_price_with_tax)}}
@if (isset($order[0]['invoice_discount']) && $order[0]['invoice_discount'] > 0) @endif @if (isset($order[0]['invoice_other_charges']) && $order[0]['invoice_other_charges'] > 0) {{-- --}} @endif
SubTotal {{config('constants.CURRENCY')}} {{($subtotal)}}
Product Discount {{config('constants.CURRENCY')}} {{($totalproduct_discount)}}
Invoice Discount {{($order[0]['invoice_discount_perc'] ?? 0)}}% {{config('constants.CURRENCY')}} {{($order[0]['invoice_discount'] ?? 0)}}
Other Charges {{config('constants.CURRENCY')}} {{($order[0]['invoice_other_charges'] ?? 0)}}
Amount Exclusive of Taxes {{config('constants.CURRENCY')}} {{( ((($order[0]['invoice_other_charges'] ?? 0)+$total_price_bf_tax) - ($order[0]['invoice_discount'] ?? 0) ))}}
Amount of Product Sales Tax {{config('constants.CURRENCY')}} {{($total_tax)}}
Amount of Sales Taxes {{($order[0]['invoice_sales_tax_perc'] ?? 0)}}% {{config('constants.CURRENCY')}} {{($order[0]['invoice_sales_tax'] ?? 0)}}
Amount Inclusive of Taxes {{config('constants.CURRENCY')}} {{($order[0]['invoice_total_receivable'] ?? 0)}}
Go Back to Franchise Orders @if($already_returned_qty > 0) @endif
{{-- Modal for Return History --}}