@extends('apex-layouts.main') @section('title',"{$member->name}") @section('title',"{$member->title} {$member->id}") @section('header-right') Print {{ $member->phone }} @endsection @section('content')
company logo
  • Dietbox
  • 64C 11th,
  • Commercial Street,
  • DHA Phase 2,
  • Karachi

INVOICE

# INV-{{$model->id}}

Bill To

@if($model->member_id)
  • {{$member->name}}
  • {{$member->phone}}
  • {{$member->email}}
  • {{$member->getPrimaryAddress()}}
  • {{$model->member->state}},{{$model->member->city}},
  • Pakistan.
@elseif($model->lead_id)
  • {{$model->lead->name}}
  • {{$model->lead->phone}}
  • {{$model->lead->email}}
  • {{$model->lead->address}}
  • {{$model->lead->state}},{{$model->lead->city}},
  • Pakistan.
@endif

Invoice Date : {{date("y-m-d",strtotime($model->created_at))}}

@if($model->type)

Type : {{$model->type}}

@endif @if($model->paidDate)

Paid Date : {{\App\helpers\ViewCommonHelper::getDateFormat($model->paidDate)}}

@endif
@foreach($model->invoiceItems as $item) @endForeach
# Item & Description Amount
{{$item->id}}

{{$item->title}}

Rs {{$item->amount}}

Payment Methods :

@foreach ($model->paidTransactions as $transactions) @endforeach @foreach ($model->paidRefundTransactions as $transactions) @endforeach
{{$transactions->method}}: {{$transactions->amount}}
{{$transactions->method}} Refunded: {{$transactions->amount}}

Total due

@if($model->discountPercent) @endif @if($totalPaidAmount > 0) @endif
Sub Total Rs {{$model->invoiceTotal}}
Discount (-%{{$model->discountPercent}} ) {{\App\helpers\CommonHelper::discountCalculate($model->invoiceTotal - $deliveryCharges,$model->discountPercent,1)}}
Total Rs {{$totalInvoiceAmount}}
Payment Made (-) Rs {{$totalPaidAmount}}
Balance Due Rs {{$totalInvoiceAmount - $totalPaidAmount}}

Member Signature





@endsection @section('scripts') @endsection