@extends('layouts.app') @section('title', getSetting('APPLICATION_NAME') . ' | ' . $page) @section('content') @include('include.user.header')
{{ $commonData['COMPANY_NAME'] }}
{{ $commonData['COMPANY_ADDRESS'] }}{{ $customerDetails['name'] }}
{{ $customerDetails['address'] }},| {{ __('Product') }} | {{ __('Date') }} | {{ __('Amount') }} | ||
|---|---|---|---|---|
| 1 |
{{ $payments->product->name }}
{{ isset($payments->product->amount_month) ? 'Monthly' : 'Yearly' }}
|
{{ $createdAt[0] }} {{ $createdAt[1] }}, {{ $createdAt[2] }} | {{ isset($payments->product->amount_month) ? formatMoney($payments->product->amount_month, $payments->product->currency) : formatMoney($payments->product->amount_year, $payments->product->currency) }} {{ $payments->product->currency }} | |
| {{ $payments->tax_rates[0]->name }} ({{ $payments->tax_rates[0]->percentage . ' %' }} {{ $payments->tax_rates[0]->type == 0 ? 'incl.' : 'excl.' }}) | {{ formatMoney($taxAmount, $payments->product->currency) }} {{ $payments->product->currency }} | |||
| {{ $payments->coupon->code }} ({{ $payments->coupon->percentage . '% Discount' }}) | {{ formatMoney($discountAmt, $payments->product->currency) }} {{ $payments->product->currency }} | |||
| {{ __('Total') }} | {{ formatMoney($payments->amount, $payments->product->currency) }} {{ $payments->product->currency }} | |||