@extends('layouts.print_layout') @section('title', 'Order Invoice') @section('print-content')

{{ _trans('common.Invoice') }}

{{ _trans('common.Date') }}: {{ date('F d,Y', strtotime($invoice->date)) }}
{{ _trans('common.Month Of Bill') }} : {{ date('F Y', strtotime($invoice->month)) }}
{{ _trans('common.Bill To:') }}
{{ $invoice->tenant->name }}
{{ $invoice->tenant->phone }}
{{ $invoice->tenant->email }}
{{ $invoice->tenant->address }} , {{ $invoice->tenant->zip_code }}{{ @$invoice->tenant->country->name }}
{{ _trans('common.Bill From:') }}
{{ setting('application_name') }}
{{ setting('phone_number') }}
{{ setting('email') }}
{{ setting('address') }} , {{ $invoice->tenant->zip_code }}{{ @$invoice->tenant->country->name }}

{{ _trans('common.Propeties') }}

@php $subtotal = 0; @endphp @forelse($invoice->property->orderDetails as $item) @php $subtotal += $item->price @endphp @empty @endforelse
{{ _trans('landlord.SR No.') }} {{ _trans('landlord.Property') }} {{ _trans('landlord.Price') }} {{ _trans('landlord.Discount') }} {{ _trans('landlord.Total Amount') }}
{{ $loop->iteration }} {{ $item->property->name }} {{ priceFormat($item->price) }} {{ priceFormat($item->dicount_amount) }} {{ priceFormat($item->total_amount) }}

{{ _trans('common.No Data Available!') }}

{{ _trans('common.Subtotal') }} : {{ priceFormat($subtotal) }}
{{ _trans('landlord.Fine Amount') }} : {{ priceFormat($invoice->fine_amount) }}
{{ _trans('landlord.Total Amount') }} : {{ priceFormat($invoice->total_amount) }}
{{ _trans('common.Payment Status') }} : {{ $invoice->payment_status }}
{{ _trans('common.Due Date') }} : {{ date('F d Y', strtotime($invoice->due_date)) }}
{{ _trans('common.Thank You') }}
{{ _trans('common.Notes') }}: {{ setting('invoice_note') }}



@endsection