@extends('apex-layouts.main') @section('pageTitle',$model->title) @section('content')
company logo
  • Dietbox
  • 64C 11th,
  • Commercial Street,
  • DHA Phase 2,
  • Karachi , Paskistan.

INVOICE

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

    {{--
  • Type | {{$model->type}}
  • --}} {{--
  • Type | {{$model->type}}
  • --}}

Bill To

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

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

{{--

Terms : Due on Receipt

--}} {{--

Due Date : 10/05/2016

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

{{$item->title}}

Rs {{$item->amount}}

Payment Methods :

Total due

@if($totalPaidAmount > 0) @endif
Sub Total Rs {{$total}}
Payment Made (-) Rs {{$totalPaidAmount}}
Balance Due Rs {{$totalInvoiceAmount - $totalPaidAmount}}

Member Signature





@endsection