@extends('mainapp::layouts.frontend.master') @section('title') {{ ___('common.Subscription Payment Invoice') }} @endsection @section('content') @php $data = session()->get('data'); @endphp
{{ @$data['to_phone'] }}
{{ @$data['to_email'] }}
Invoice No: @if (@$data['invoice_no'] < 10) 00000{{ @$data['invoice_no'] }} @elseif (@$data['invoice_no'] < 100) 0000{{ @$data['invoice_no'] }} @elseif (@$data['invoice_no'] < 1000) 000{{ @$data['invoice_no'] }} @elseif (@$data['invoice_no'] < 10000) 00{{ @$data['invoice_no'] }} @else {{ @$data['invoice_no'] }} @endif
Invoice Date: {{ date('d M Y') }}
| SL | ITEM DESCRIPTION | TOTAL |
|---|---|---|
| 01 | {{ @$data['package_name'] }}- Subscription ( {{ date('d M Y') }}- @if (@$data['package_duration'] == 1) {{ date("d M Y", strtotime("+ ". @$data['package_duration_number'] ." day")); }} @elseif (@$data['package_duration'] == 2) {{ date("d M Y", strtotime("+ ". @$data['package_duration_number'] ." month")); }} @elseif (@$data['package_duration'] == 3) {{ date("d M Y", strtotime("+ ". @$data['package_duration_number'] ." year")); }} @else Lifetime @endif ) | ${{ @$data['package_amount'] }} |
In word:{{ $inWords }} dollar.
Subtotal : ${{ @$data['package_amount'] }}
Prevous Due : ${{ number_format(@$data['previous_due'], 2, '.', '') }}
Paid: ${{ number_format(@$data['package_amount'] + @$data['previous_due'], 2, '.', '') }}
* Payment is due within 30 days from the invoice date unless otherwise agreed upon in writing
* Accepted payment methods include bank transfer, credit card, or PayPal.