migrate to gtea from bistbucket
This commit is contained in:
85
Modules/Business/resources/views/dues/collect-due.blade.php
Normal file
85
Modules/Business/resources/views/dues/collect-due.blade.php
Normal file
@@ -0,0 +1,85 @@
|
||||
@extends('layouts.business.master')
|
||||
|
||||
@section('title')
|
||||
{{ $party->type === 'Supplier' ? __('Pay Due') : __('Collect Due') }}
|
||||
@endsection
|
||||
|
||||
@section('main_content')
|
||||
<div class="erp-table-section">
|
||||
<div class="container-fluid">
|
||||
<div class="card border-0">
|
||||
<div class="card-bodys ">
|
||||
<div class="table-header p-16">
|
||||
<h4>{{ $party->type === 'Supplier' ? __('Pay Due') : __('Collect Due') }}</h4>
|
||||
</div>
|
||||
<div class="order-form-section p-16">
|
||||
<form action="{{ route('business.collect.dues.store') }}" method="POST" class="ajaxform">
|
||||
@csrf
|
||||
<input type="hidden" name="party_id" value="{{ $party->id }}">
|
||||
<div class="add-suplier-modal-wrapper d-block">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 mb-2">
|
||||
<label>{{ __('Select Invoice') }}</label>
|
||||
<div class="gpt-up-down-arrow position-relative">
|
||||
<select id="invoiceSelect" name="invoiceNumber" class="form-control table-select w-100">
|
||||
<option value="" data-opening-due="{{ $party_opening_due }}" >{{ __('Select an Invoice') }}</option>
|
||||
@if($party->type == "Supplier")
|
||||
@foreach ($party->purchases_dues as $due)
|
||||
<option value="{{ $due->invoiceNumber }}"
|
||||
data-total-amount="{{ $due->totalAmount }}"
|
||||
data-due-amount="{{ $due->dueAmount }}" >
|
||||
{{ $due->invoiceNumber }}
|
||||
</option>
|
||||
@endforeach
|
||||
@else
|
||||
@foreach ($party->sales_dues as $due)
|
||||
<option value="{{ $due->invoiceNumber }}"
|
||||
data-total-amount="{{ $due->totalAmount }}"
|
||||
data-due-amount="{{ $due->dueAmount }}" >
|
||||
{{ $due->invoiceNumber }}
|
||||
</option>
|
||||
@endforeach
|
||||
@endif
|
||||
</select>
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 mb-2">
|
||||
<label>{{ __('Date') }}</label>
|
||||
<input type="date" name="paymentDate" required class="form-control" value="{{ date('Y-m-d') }}">
|
||||
</div>
|
||||
<div class="col-lg-6 mb-2">
|
||||
<label>{{ $party->type == 'Supplier' ? __('Supplier Name') : __('Customer Name') }}</label>
|
||||
<input type="text" value="{{ $party->name }}" readonly class="form-control">
|
||||
</div>
|
||||
<div class="col-lg-6 mb-2">
|
||||
<label>{{ __('Total Amount') }}</label>
|
||||
<input type="number" id="totalAmount" value="{{ $party_opening_due }}" readonly class="form-control">
|
||||
</div>
|
||||
<div class="col-lg-6 mb-2">
|
||||
<label>{{ __('Paid Amount') }}</label>
|
||||
<input type="number" name="payDueAmount" id="paidAmount" required step="0.01" min="0" class="form-control receive_amount">
|
||||
</div>
|
||||
<div class="col-lg-6 mb-2">
|
||||
<label>{{ __('Due Amount') }}</label>
|
||||
<input type="number" id="dueAmount" value="{{ $party_opening_due }}" readonly class="form-control">
|
||||
</div>
|
||||
<div class="col-lg-6 mb-2">
|
||||
<label>{{ __('Payment Type') }}</label>
|
||||
@include('business::component.payment_type', ['context' => 'due', 'payment_types' => $payment_types])
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<div class="button-group text-center mt-5">
|
||||
<button type="reset" class="theme-btn border-btn m-2">{{ __('Reset') }}</button>
|
||||
<button class="theme-btn m-2 submit-btn">{{ __('Save') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
84
Modules/Business/resources/views/dues/datas.blade.php
Normal file
84
Modules/Business/resources/views/dues/datas.blade.php
Normal file
@@ -0,0 +1,84 @@
|
||||
<div class="responsive-table m-0">
|
||||
<table class="table" id="datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ __('SL') }}.</th>
|
||||
<th>{{ __('Name') }}</th>
|
||||
<th>{{ __('Email') }}</th>
|
||||
<th>{{ __('Phone') }}</th>
|
||||
<th>{{ __('Type') }}</th>
|
||||
<th class="text-end">{{ __('Due Amount') }}</th>
|
||||
<th>{{ __('Action') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($parties as $party)
|
||||
<tr>
|
||||
<td>{{ ($parties->currentPage() - 1) * $parties->perPage() + $loop->iteration }}</td>
|
||||
<td>{{ $party->name }}</td>
|
||||
<td>{{ $party->email }}</td>
|
||||
<td>{{ $party->phone }}</td>
|
||||
@if ($party->type == 'Retailer')
|
||||
<td>{{ __('Customer') }}</td>
|
||||
@else
|
||||
<td>{{ $party->type }}</td>
|
||||
@endif
|
||||
<td class="text-danger text-end">
|
||||
{{ currency_format($party->due, currency: business_currency()) }}
|
||||
</td>
|
||||
<td class="d-print-none">
|
||||
<div class="dropdown table-action">
|
||||
<button type="button" data-bs-toggle="dropdown">
|
||||
<i class="far fa-ellipsis-v"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="{{ route('business.collect.dues', $party->id) }}">
|
||||
<i class="fal fa-edit"></i>
|
||||
{{ $party->type === 'Supplier' ? __('Pay Due') : __('Collect Due') }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="#"
|
||||
data-url="{{ route('business.dues.view-payment', $party->id) }}"
|
||||
class="view-due-payment-btn" data-bs-toggle="modal"
|
||||
data-bs-target="#view-due-payment-modal">
|
||||
<svg width="18" height="18" viewBox="0 0 18 18" fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M3 13.9844V6.0407C3 3.90019 3 2.82994 3.65901 2.16497C4.31802 1.5 5.37868 1.5 7.5 1.5H10.5C12.6213 1.5 13.6819 1.5 14.341 2.16497C15 2.82994 15 3.90019 15 6.0407V13.9844C15 15.1181 15 15.685 14.6535 15.9081C14.0873 16.2728 13.2121 15.5081 12.7718 15.2305C12.4081 15.0011 12.2263 14.8864 12.0244 14.8798C11.8063 14.8726 11.6212 14.9826 11.2282 15.2305L9.795 16.1343C9.40838 16.3781 9.2151 16.5 9 16.5C8.7849 16.5 8.59162 16.3781 8.205 16.1343L6.77185 15.2305C6.40811 15.0011 6.22624 14.8864 6.0244 14.8798C5.80629 14.8726 5.6212 14.9826 5.22815 15.2305C4.78796 15.5081 3.91265 16.2728 3.34646 15.9081C3 15.685 3 15.1181 3 13.9844Z"
|
||||
stroke="#4B5563" stroke-linecap="round" stroke-linejoin="round" />
|
||||
<path d="M12 4.5H6" stroke="#4B5563" stroke-linecap="round"
|
||||
stroke-linejoin="round" />
|
||||
<path d="M7.5 7.5H6" stroke="#4B5563" stroke-linecap="round"
|
||||
stroke-linejoin="round" />
|
||||
<path
|
||||
d="M10.875 7.40625C10.2537 7.40625 9.75 7.84695 9.75 8.39063C9.75 8.9343 10.2537 9.375 10.875 9.375C11.4963 9.375 12 9.8157 12 10.3594C12 10.9031 11.4963 11.3438 10.875 11.3438M10.875 7.40625C11.3648 7.40625 11.7815 7.68015 11.936 8.0625M10.875 7.40625V6.75M10.875 11.3438C10.3852 11.3438 9.96847 11.0699 9.81405 10.6875M10.875 11.3438V12"
|
||||
stroke="#4B5563" stroke-linecap="round" />
|
||||
</svg>
|
||||
{{ __('View Payment') }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@if ($party->dueCollect)
|
||||
<li>
|
||||
<a href="{{ route('business.collect.dues.invoice', $party->id) }}"
|
||||
target="_blank">
|
||||
<img src="{{ asset('assets/images/icons/Invoic.svg') }}" alt="">
|
||||
{{ __('Invoice') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="mt-3">
|
||||
{{ $parties->links('vendor.pagination.bootstrap-5') }}
|
||||
</div>
|
||||
80
Modules/Business/resources/views/dues/index.blade.php
Normal file
80
Modules/Business/resources/views/dues/index.blade.php
Normal file
@@ -0,0 +1,80 @@
|
||||
@extends('layouts.business.master')
|
||||
|
||||
@section('title')
|
||||
{{ __('Due List') }}
|
||||
@endsection
|
||||
|
||||
@section('main_content')
|
||||
<div class="erp-table-section">
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="mb-4 d-flex loss-flex gap-3 loss-profit-container d-print-none">
|
||||
<div class="d-flex align-items-center justify-content-center gap-3">
|
||||
<div class="profit-card p-3 text-white">
|
||||
<p class="stat-title">{{ __('Supplier Due') }}</p>
|
||||
<p class="stat-value">{{ currency_format($total_supplier_due, currency: business_currency()) }}</p>
|
||||
</div>
|
||||
|
||||
<div class="loss-card p-3 text-white">
|
||||
<p class="stat-title">{{ __('Customer Due') }}</p>
|
||||
<p class="stat-value">{{ currency_format($total_customer_due, currency: business_currency()) }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-bodys">
|
||||
<div class="table-header p-16">
|
||||
<h4>{{ __('Due List') }}</h4>
|
||||
</div>
|
||||
<div class="table-top-form p-16">
|
||||
<form action="{{ route('business.dues.index') }}" method="GET" class="filter-form" table="#due-reports-data">
|
||||
|
||||
<div class="table-top-left d-flex gap-3 ">
|
||||
<div class="gpt-up-down-arrow position-relative">
|
||||
<select name="per_page" class="form-control">
|
||||
<option @selected(request('per_page') == 20) value="20">{{ __('Show 20') }}</option>
|
||||
<option @selected(request('per_page') == 50) value="50">{{ __('Show 50') }}</option>
|
||||
<option @selected(request('per_page') == 100) value="100">{{ __('Show 100') }}</option>
|
||||
<option @selected(request('per_page') == 500) value="500">{{ __('Show 500') }}</option>
|
||||
</select>
|
||||
<span></span>
|
||||
</div>
|
||||
<div class="table-search position-relative">
|
||||
<input type="text" name="search" class="form-control" placeholder="{{ __('Search...') }}" value="{{ request('search') }}">
|
||||
<span class="position-absolute">
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M14.582 14.582L18.332 18.332" stroke="#4D4D4D" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M16.668 9.16797C16.668 5.02584 13.3101 1.66797 9.16797 1.66797C5.02584 1.66797 1.66797 5.02584 1.66797 9.16797C1.66797 13.3101 5.02584 16.668 9.16797 16.668C13.3101 16.668 16.668 13.3101 16.668 9.16797Z" stroke="#4D4D4D" stroke-width="1.25" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
<div class="gpt-up-down-arrow position-relative d-print-none">
|
||||
<select name="type" class="form-control employee-select">
|
||||
<option value="">{{ __('Select party') }}</option>
|
||||
<option value="Retailer" {{ request('type') == 'Retailer' ? 'selected' : '' }}>{{ __('Customer') }}</option>
|
||||
<option value="Dealer" {{ request('type') == 'Dealer' ? 'selected' : '' }}>{{ __('Dealer') }}</option>
|
||||
<option value="Wholesaler" {{ request('type') == 'Wholesaler' ? 'selected' : '' }}>{{ __('Wholesaler') }}</option>
|
||||
<option value="Supplier" {{ request('type') == 'Supplier' ? 'selected' : '' }}>{{ __('Supplier') }}</option>
|
||||
</select>
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="due-reports-data">
|
||||
@include('business::dues.datas')
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('modal')
|
||||
@include('business::component.due-payment-view-modal')
|
||||
@endpush
|
||||
|
||||
|
||||
13
Modules/Business/resources/views/dues/invoice.blade.php
Normal file
13
Modules/Business/resources/views/dues/invoice.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
@extends('layouts.business.blank')
|
||||
|
||||
@section('title')
|
||||
{{ __('Invoice') }}
|
||||
@endsection
|
||||
|
||||
@section('main_content')
|
||||
@if (invoice_setting() == '3_inch_80mm' && moduleCheck('ThermalPrinterAddon'))
|
||||
@include('thermalprinteraddon::due-collects.3_inch_80mm')
|
||||
@else
|
||||
@include('business::dues.invoices.a4-size')
|
||||
@endif
|
||||
@endsection
|
||||
237
Modules/Business/resources/views/dues/invoices/a4-size.blade.php
Normal file
237
Modules/Business/resources/views/dues/invoices/a4-size.blade.php
Normal file
@@ -0,0 +1,237 @@
|
||||
<div class="invoice-container">
|
||||
<div class="invoice-content p-4">
|
||||
{{-- Print Header --}}
|
||||
|
||||
<div class="row py-2 d-print-none d-flex align-items-start justify-content-between border-bottom print-container">
|
||||
|
||||
<div class="col-md-6 d-flex align-items-center p-2">
|
||||
<span class="Money-Receipt white-text">{{ __('Money Receipt') }}</span>
|
||||
</div>
|
||||
<div class="col-md-6 d-flex justify-content-end align-items-end">
|
||||
<div class="d-flex gap-3">
|
||||
|
||||
<form action="{{ route('business.collect.dues.mail', $party->id) }}" method="POST"
|
||||
class="ajaxform_instant_reload">
|
||||
@csrf
|
||||
<button type="submit" class="btn custom-print-btn"><img class="w-10 h-10" src="{{ asset('assets/img/email.svg') }}"><span class="pl-1">{{__('Email')}}</span>
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<a target="blank" href="{{ route('business.collect.dues.pdf', ['due_id' => $party->id]) }}"
|
||||
class="pdf-btn print-btn">
|
||||
<img class="w-10 h-10" src="{{ asset('assets/img/pdf.svg') }}">
|
||||
{{__('PDF')}}</a>
|
||||
|
||||
<a class="print-btn-2 print-btn" onclick="window.print()"><img class="w-10 h-10"
|
||||
src="{{ asset('assets/img/print.svg') }}">{{ __('Print') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex justify-content-between align-items-center gap-3 print-logo-container">
|
||||
<!-- Left Side: Logo and Content -->
|
||||
<div class="d-flex align-items-center gap-2 logo">
|
||||
@if ((get_business_option('business-settings')['show_a4_invoice_logo'] ?? 0) == 1 )
|
||||
<img class="invoice-logo" src="{{ asset(get_business_option('business-settings')['a4_invoice_logo'] ?? 'assets/images/default.svg') ?? '' }}" alt="">
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<!-- Right Side: Invoice -->
|
||||
<div class="address-container">
|
||||
@if (($due_collect->business->meta['show_address'] ?? 0) == 1)
|
||||
<p> {{__('Address')}} : {{ $due_collect->branch?->address ?? $due_collect->business?->address ?? '' }}</p>
|
||||
@endif
|
||||
@if (($due_collect->business->meta['show_phone_number'] ?? 0) == 1)
|
||||
<p> {{__('Mobile')}} : {{ $due_collect->branch?->phone ?? $due_collect->business?->phoneNumber ?? '' }}</p>
|
||||
@endif
|
||||
@if (($due_collect->business->meta['show_email'] ?? 0) == 1)
|
||||
<p> {{__('Email')}} : {{ $due_collect->branch?->email ?? $due_collect->business?->email ?? '' }}</p>
|
||||
@endif
|
||||
<p>
|
||||
@if (($due_collect->business->meta['show_vat'] ?? 0) == 1)
|
||||
{{ $due_collect->business->vat_name }}
|
||||
@endif
|
||||
{{ (($due_collect->business->meta['show_vat'] ?? 0) == 1 && ($due_collect->business->meta['show_vat'] ?? 0) == 1) ? ':' : '' }}
|
||||
@if (($due_collect->business->meta['show_vat'] ?? 0) == 1)
|
||||
{{ $due_collect->business->vat_no ?? '' }}
|
||||
@endif
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 class="right-invoice receipt-invoice-title mb-0 align-self-center white-text ">{{ __('MONEY RECEIPT') }}</h3>
|
||||
<div class="d-flex align-items-start justify-content-between flex-wrap">
|
||||
<div>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start bold-title">{{ __('Invoice') }}</td>
|
||||
<td class="text-start">: {{ $due_collect->invoiceNumber ?? '' }}</td>
|
||||
</tr>
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start bold-title">{{ __('Bill To') }}</td>
|
||||
<td class="text-start">: {{ $party->name ?? 'Guest' }}</td>
|
||||
</tr>
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start bold-title">{{ __('Mobile') }}</td>
|
||||
<td class="text-start">: {{ $party->phone ?? '' }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start bold-title">{{ __('Date') }}</td>
|
||||
<td class="text-start">: {{ formatted_date($due_collect->paymentDate ?? '') }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start bold-title">{{ __('Time') }}</td>
|
||||
<td class="text-start">: {{ formatted_time($due_collect->paymentDate ?? '') }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start bold-title">{{ __('Collected By') }}</td>
|
||||
<td class="text-start">: {{ $party->dueCollect->business->companyName ?? '' }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-invoice-table">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr class="in-table-header">
|
||||
<th class="head-red text-center white-text">{{ __('SL') }}</th>
|
||||
<th class="head-red text-start">{{ __('Total Due') }}</th>
|
||||
<th class="head-black text-end">{{ __('Payment Amount') }}</th>
|
||||
<th class="head-black text-end">{{ __('Remaining Due') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="in-table-body-container">
|
||||
<tr class="in-table-body">
|
||||
<td class="text-center">1</td>
|
||||
<td class="text-start">
|
||||
{{ currency_format($due_collect->totalDue ?? 0, currency: business_currency()) }}</td>
|
||||
<td class="text-end">
|
||||
{{ currency_format($due_collect->payDueAmount ?? 0, currency: business_currency()) }}
|
||||
</td>
|
||||
<td class="text-end">
|
||||
{{ currency_format($due_collect->dueAmountAfterPay ?? 0, currency: business_currency()) }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="d-flex align-items-start justify-content-between position-relative bottom-info-container">
|
||||
<div>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start"></td>
|
||||
</tr>
|
||||
@if ((get_business_option('business-settings')['show_note'] ?? 0) == 1)
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start pb-2 pt-3">
|
||||
{{ get_business_option('business-settings')['note'] ?? '' }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start paid-by">{{ __('Paid by') }} :
|
||||
{{ $transactionTypes ?? ($due_collect->payment_type_id ? ($due_collect->payment_type->name ?? '') : ($due_collect->paymentType ?? '')) }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@if ($bank_detail->show_in_invoice ?? 0 == 1)
|
||||
<div class="bank-details-container">
|
||||
<div class="bank-details-title">
|
||||
{{__('Bank Details')}}
|
||||
</div>
|
||||
<div class="back-details-content">
|
||||
<table class="table mb-2">
|
||||
<tbody>
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start in-table-title">{{ __('Name') }}</td>
|
||||
<td class="clone-width">:</td>
|
||||
<td class="text-start">{{ $bank_detail->name }}</td>
|
||||
</tr>
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start in-table-title">{{ __('Account No') }}</td>
|
||||
<td class="clone-width">:</td>
|
||||
<td class="text-start">{{ $bank_detail->meta['account_number'] ?? '' }}</td>
|
||||
</tr>
|
||||
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start in-table-title">{{ __('UPI ID') }}</td>
|
||||
<td class="clone-width">:</td>
|
||||
<td class="text-start">{{ $bank_detail->meta['upi_id'] ?? '' }}</td>
|
||||
</tr>
|
||||
<tr class="in-table-row">
|
||||
<td class="text-start in-table-title">{{ __('Holder’s Nmae') }}</td>
|
||||
<td class="clone-width">:</td>
|
||||
<td class="text-start">{{ $bank_detail->meta['account_holder'] ?? '' }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr class="in-table-row-bottom">
|
||||
<td class="text-end">{{ __('Payable Amount') }}</td>
|
||||
<td class="text-end">:</td>
|
||||
<td class="text-end">
|
||||
{{ currency_format($due_collect->totalDue ?? 0, currency: business_currency()) }}
|
||||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="in-table-row-bottom">
|
||||
<td class="text-end">{{ $party->type === 'Supplier' ? __('Paid Amount') : __('Received Amount') }}</td>
|
||||
<td class="text-end">:</td>
|
||||
<td class="text-end">
|
||||
{{ currency_format($due_collect->payDueAmount ?? 0, currency: business_currency()) }}
|
||||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="in-table-row-bottom">
|
||||
<td class="text-end">{{ __('Due Amount') }}</td>
|
||||
<td class="text-end">:</td>
|
||||
<td class="text-end">
|
||||
{{ currency_format($due_collect->dueAmountAfterPay ?? 0, currency: business_currency()) }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pdf-footer">
|
||||
<div class="in-signature-container d-flex align-items-center justify-content-between">
|
||||
<div class="in-signature">
|
||||
<hr class="in-hr">
|
||||
<h4>{{ __('Customer Signature') }}</h4>
|
||||
</div>
|
||||
<div class="in-signature">
|
||||
<hr class="in-hr">
|
||||
<h4>{{ __('Authorized Signature') }}</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if ((get_business_option('business-settings')['show_warranty'] ?? 0) == 1)
|
||||
<div class="warranty-container-2 mt-3">
|
||||
<p>
|
||||
@if ((get_business_option('business-settings')['show_warranty'] ?? 0) == 1)
|
||||
<span>{{ get_business_option('business-settings')['warranty_void_label'] ?? '' }} - </span>
|
||||
@endif
|
||||
{{ get_business_option('business-settings')['warranty_void'] ?? '' }}
|
||||
</p>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
81
Modules/Business/resources/views/dues/party/datas.blade.php
Normal file
81
Modules/Business/resources/views/dues/party/datas.blade.php
Normal file
@@ -0,0 +1,81 @@
|
||||
<div class="responsive-table m-0">
|
||||
<table class="table" id="datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ __('SL') }}.</th>
|
||||
<th>{{ __('Name') }}</th>
|
||||
<th>{{ __('Email') }}</th>
|
||||
<th>{{ __('Phone') }}</th>
|
||||
<th>{{ __('Type') }}</th>
|
||||
<th class="text-end">{{ __('Due Amount') }}</th>
|
||||
<th>{{ __('Action') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($parties as $party)
|
||||
<tr>
|
||||
<td>{{ ($parties->currentPage() - 1) * $parties->perPage() + $loop->iteration }}</td>
|
||||
<td>{{ $party->name }}</td>
|
||||
<td>{{ $party->email }}</td>
|
||||
<td>{{ $party->phone }}</td>
|
||||
@if ($party->type == 'Retailer')
|
||||
<td>{{ __('Customer') }}</td>
|
||||
@else
|
||||
<td>{{ $party->type }}</td>
|
||||
@endif
|
||||
<td class="text-danger text-end">
|
||||
{{ currency_format($party->due, currency: business_currency()) }}
|
||||
</td>
|
||||
<td class="d-print-none">
|
||||
<div class="dropdown table-action">
|
||||
<button type="button" data-bs-toggle="dropdown">
|
||||
<i class="far fa-ellipsis-v"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="{{ route('business.collect.dues', $party->id) }}">
|
||||
<i class="fal fa-edit"></i>
|
||||
{{ $party->type === 'Supplier' ? __('Pay Due') : __('Collect Due') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#"
|
||||
data-url="{{ route('business.dues.view-payment', $party->id) }}"
|
||||
class="view-due-payment-btn" data-bs-toggle="modal"
|
||||
data-bs-target="#view-due-payment-modal">
|
||||
<svg width="18" height="18" viewBox="0 0 18 18" fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M3 13.9844V6.0407C3 3.90019 3 2.82994 3.65901 2.16497C4.31802 1.5 5.37868 1.5 7.5 1.5H10.5C12.6213 1.5 13.6819 1.5 14.341 2.16497C15 2.82994 15 3.90019 15 6.0407V13.9844C15 15.1181 15 15.685 14.6535 15.9081C14.0873 16.2728 13.2121 15.5081 12.7718 15.2305C12.4081 15.0011 12.2263 14.8864 12.0244 14.8798C11.8063 14.8726 11.6212 14.9826 11.2282 15.2305L9.795 16.1343C9.40838 16.3781 9.2151 16.5 9 16.5C8.7849 16.5 8.59162 16.3781 8.205 16.1343L6.77185 15.2305C6.40811 15.0011 6.22624 14.8864 6.0244 14.8798C5.80629 14.8726 5.6212 14.9826 5.22815 15.2305C4.78796 15.5081 3.91265 16.2728 3.34646 15.9081C3 15.685 3 15.1181 3 13.9844Z"
|
||||
stroke="#4B5563" stroke-linecap="round" stroke-linejoin="round" />
|
||||
<path d="M12 4.5H6" stroke="#4B5563" stroke-linecap="round"
|
||||
stroke-linejoin="round" />
|
||||
<path d="M7.5 7.5H6" stroke="#4B5563" stroke-linecap="round"
|
||||
stroke-linejoin="round" />
|
||||
<path
|
||||
d="M10.875 7.40625C10.2537 7.40625 9.75 7.84695 9.75 8.39063C9.75 8.9343 10.2537 9.375 10.875 9.375C11.4963 9.375 12 9.8157 12 10.3594C12 10.9031 11.4963 11.3438 10.875 11.3438M10.875 7.40625C11.3648 7.40625 11.7815 7.68015 11.936 8.0625M10.875 7.40625V6.75M10.875 11.3438C10.3852 11.3438 9.96847 11.0699 9.81405 10.6875M10.875 11.3438V12"
|
||||
stroke="#4B5563" stroke-linecap="round" />
|
||||
</svg>
|
||||
{{ __('View Payment') }}
|
||||
</a>
|
||||
</li>
|
||||
@if ($party->dueCollect)
|
||||
<li>
|
||||
<a href="{{ route('business.collect.dues.invoice', $party->id) }}"
|
||||
target="_blank">
|
||||
<img src="{{ asset('assets/images/icons/Invoic.svg') }}" alt="">
|
||||
{{ __('Invoice') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="mt-3">
|
||||
{{ $parties->links('vendor.pagination.bootstrap-5') }}
|
||||
</div>
|
||||
61
Modules/Business/resources/views/dues/party/index.blade.php
Normal file
61
Modules/Business/resources/views/dues/party/index.blade.php
Normal file
@@ -0,0 +1,61 @@
|
||||
@extends('layouts.business.master')
|
||||
|
||||
@section('title')
|
||||
{{ __('Due List') }}
|
||||
@endsection
|
||||
|
||||
@section('main_content')
|
||||
<div class="erp-table-section">
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-bodys">
|
||||
<div class="table-header p-16">
|
||||
<h4>{{ __('Due List') }}</h4>
|
||||
</div>
|
||||
<div class="table-top-form p-16">
|
||||
<form action="{{ route('business.party.dues') }}" method="GET" class="filter-form" table="#party-reports-data">
|
||||
|
||||
@if(request('type'))
|
||||
<input type="hidden" name="type" value="{{ request('type') }}">
|
||||
@endif
|
||||
|
||||
<div class="table-top-left d-flex gap-3 ">
|
||||
<div class="gpt-up-down-arrow position-relative ">
|
||||
<select name="per_page" class="form-control">
|
||||
<option @selected(request('per_page') == 20) value="20">{{ __('Show 20') }}</option>
|
||||
<option @selected(request('per_page') == 50) value="50">{{ __('Show 50') }}</option>
|
||||
<option @selected(request('per_page') == 100) value="100">{{ __('Show 100') }}</option>
|
||||
<option @selected(request('per_page') == 500) value="500">{{ __('Show 500') }}</option>
|
||||
</select>
|
||||
<span></span>
|
||||
</div>
|
||||
<div class="table-search position-relative">
|
||||
<input type="text" name="search" class="form-control" placeholder="{{ __('Search...') }}" value="{{ request('search') }}">
|
||||
<span class="position-absolute">
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M14.582 14.582L18.332 18.332" stroke="#4D4D4D" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M16.668 9.16797C16.668 5.02584 13.3101 1.66797 9.16797 1.66797C5.02584 1.66797 1.66797 5.02584 1.66797 9.16797C1.66797 13.3101 5.02584 16.668 9.16797 16.668C13.3101 16.668 16.668 13.3101 16.668 9.16797Z" stroke="#4D4D4D" stroke-width="1.25" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="party-reports-data">
|
||||
@include('business::dues.party.datas')
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('modal')
|
||||
@include('business::component.due-payment-view-modal')
|
||||
@endpush
|
||||
|
||||
|
||||
|
||||
427
Modules/Business/resources/views/dues/pdf.blade.php
Normal file
427
Modules/Business/resources/views/dues/pdf.blade.php
Normal file
@@ -0,0 +1,427 @@
|
||||
@extends('layouts.business.pdf.pdf_layout')
|
||||
|
||||
@section('pdf_title')
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-size: 12px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.invoice-container {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.border-none{
|
||||
border: 1px solid transparent
|
||||
}
|
||||
|
||||
.top-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.logo-cell img {
|
||||
height: 45px;
|
||||
}
|
||||
.logo-cell{
|
||||
height: 45px !important;
|
||||
width: 45px !important;
|
||||
}
|
||||
|
||||
.company-name {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.right-info {
|
||||
text-align: right;
|
||||
font-size: 12px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.invoice-badge {
|
||||
margin: 10px auto 15px auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.invoice-badge span {
|
||||
display: inline-block;
|
||||
padding: 6px 25px;
|
||||
background: #c5161d;
|
||||
color: #fff;
|
||||
border-radius: 20px;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.info-table {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.info-table td {
|
||||
vertical-align: top;
|
||||
padding: 2px 4px;
|
||||
}
|
||||
|
||||
.item-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.item-table th,
|
||||
.item-table td {
|
||||
border: 1px solid #000;
|
||||
padding: 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.item-table th {
|
||||
background: #f5f5f5;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.text-right { text-align: right; }
|
||||
.text-center { text-align: center; }
|
||||
|
||||
.summary-table {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.summary-table td {
|
||||
padding: 4px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.summary-right {
|
||||
width: 40%;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.return-title {
|
||||
margin-top: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.footer-table {
|
||||
width: 100%;
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.signature {
|
||||
width: 40%;
|
||||
text-align: end;
|
||||
}
|
||||
.signature-2{
|
||||
text-align: right
|
||||
}
|
||||
|
||||
.signature hr {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.warranty-box {
|
||||
border: 1px solid #000;
|
||||
padding: 6px;
|
||||
margin-top: 15px;
|
||||
font-size: 11px;
|
||||
}
|
||||
.in-title{
|
||||
margin-top: 30px !important;
|
||||
}
|
||||
</style>
|
||||
@endsection
|
||||
|
||||
@section('pdf_title')
|
||||
<div class="table-header justify-content-center border-0 d-none d-block d-print-block text-center">
|
||||
@include('business::print.header')
|
||||
<h4 class="mt-2" style="text-align:center;">{{ __('Due Pdf') }}</h4>
|
||||
</div>
|
||||
|
||||
@push('css')
|
||||
@include('business::pdf.fonts-css')
|
||||
@endpush
|
||||
|
||||
@endsection
|
||||
|
||||
@php
|
||||
$logo = get_business_option('business-settings')['a4_invoice_logo'] ?? null;
|
||||
$logoFile = public_path($logo ?? 'assets/images/default.svg');
|
||||
$logoData = base64_encode(file_get_contents($logoFile));
|
||||
$logoMime = mime_content_type($logoFile);
|
||||
@endphp
|
||||
|
||||
@section('pdf_content')
|
||||
<div class="in-container">
|
||||
<div class="in-content">
|
||||
{{-- <table width="100%" class="invoice-top-header">
|
||||
<tr>
|
||||
<td width="60%" valign="top">
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
@if ((get_business_option('business-settings')['show_a4_invoice_logo'] ?? 0) == 1 )
|
||||
<img class="logo-cell"
|
||||
src="data:{{ $logoMime }};base64,{{ $logoData }}"
|
||||
style="max-width:60px;">
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td width="40%" valign="top" align="right">
|
||||
@if (($due_collect->business->meta['show_address'] ?? 0) == 1)
|
||||
<p>{{ __('Address') }} : </p>
|
||||
@endif
|
||||
@if (($due_collect->business->meta['show_phone_number'] ?? 0) == 1)
|
||||
<p>{{ __('Mobile') }} : </p>
|
||||
@endif
|
||||
@if (($due_collect->business->meta['show_email'] ?? 0) == 1)
|
||||
<p>{{ __('Email') }} : </p>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
</table> --}}
|
||||
|
||||
<table class="top-table">
|
||||
<tr>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
@if ((get_business_option('business-settings')['show_a4_invoice_logo'] ?? 0) == 1 )
|
||||
<td>
|
||||
<img
|
||||
src="data:{{ $logoMime }};base64,{{ $logoData }}"
|
||||
style="
|
||||
width: auto;
|
||||
height: 54px;
|
||||
display: block;
|
||||
"
|
||||
>
|
||||
</td>
|
||||
|
||||
|
||||
@endif
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="right-info">
|
||||
{{ __('Address') }} : {{ $due_collect->branch?->address ?? $due_collect->business?->address ?? '' }}<br>
|
||||
{{ __('Mobile') }} : {{ $due_collect->branch?->phone ?? $due_collect->business?->phoneNumber ?? '' }}<br>
|
||||
{{ __('Email') }} : {{ $due_collect->branch?->email ?? $due_collect->business?->email ?? '' }}<br>
|
||||
@if (($due_collect->business->meta['show_vat'] ?? 0) == 1)
|
||||
{{ $due_collect->business->vat_name }}
|
||||
@endif
|
||||
{{ (($due_collect->business->meta['show_vat'] ?? 0) == 1 && ($due_collect->business->meta['show_vat'] ?? 0) == 1) ? ':' : '' }}
|
||||
@if (($due_collect->business->meta['show_vat'] ?? 0) == 1)
|
||||
{{ $due_collect->business->vat_no ?? '' }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<h3 style="
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
background-color: #c52127;
|
||||
padding: 5px 12px;
|
||||
border-radius: 30px;
|
||||
margin-top: 12px !important;
|
||||
width: 170px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: auto;
|
||||
border: 1px solid black;
|
||||
text-align: center;" class="in-title">
|
||||
{{ __('MONEY RECEIPT') }}
|
||||
</h3>
|
||||
|
||||
<table width="100%" style="margin-bottom:10px;">
|
||||
<tr>
|
||||
<td width="50%" valign="top"
|
||||
style="text-align:{{ app()->getLocale() == 'ar' ? 'left' : 'left' }};">
|
||||
<table>
|
||||
<tr>
|
||||
<td>{{ __('Invoice') }}</td>
|
||||
<td>: {{ $due_collect->invoiceNumber ?? '' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Bill To') }}</td>
|
||||
<td>: {{ $party->name ?? 'Guest' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Mobile') }}</td>
|
||||
<td>: {{ $party->phone ?? '' }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td width="50%" valign="top"
|
||||
style="text-align:{{ app()->getLocale() == 'ar' ? 'right' : 'right' }};">
|
||||
<table>
|
||||
<tr>
|
||||
<td>{{ __('Date') }}</td>
|
||||
<td>: {{ formatted_date($party->dueCollect->paymentDate ?? '') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Time') }}</td>
|
||||
<td>: {{ formatted_time($party->dueCollect->paymentDate ?? '') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Collected By') }}</td>
|
||||
<td>: {{ $party->dueCollect->business->companyName ?? '' }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div>
|
||||
<table width="100%" border="1" cellspacing="0" cellpadding="6">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">{{ __('SL') }}</th>
|
||||
<th align="center">{{ __('Total Due') }}</th>
|
||||
<th align="center">{{ __('Payment Amount') }}</th>
|
||||
<th align="right">{{ __('Remaining Due') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">1</td>
|
||||
<td align="center">{{ currency_format($due_collect->totalDue ?? 0, currency: business_currency()) }}</td>
|
||||
<td align="center">{{ currency_format($due_collect->payDueAmount ?? 0, currency: business_currency()) }}</td>
|
||||
<td align="right" style="text-align: end">{{ currency_format($due_collect->dueAmountAfterPay ?? 0, currency: business_currency()) }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<table width="100%" style="margin-top:15px;">
|
||||
<tr>
|
||||
{{-- LEFT SIDE --}}
|
||||
<td width="60%" valign="top">
|
||||
<table width="100%">
|
||||
<tbody>
|
||||
@if ((get_business_option('business-settings')['show_note'] ?? 0) == 1)
|
||||
<tr>
|
||||
<td style="padding-bottom:8px;">
|
||||
{{ get_business_option('business-settings')['note'] ?? '' }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<td style="padding-top:5px; font-weight:bold;">
|
||||
{{ __('Paid by') }} :
|
||||
{{ $transactionTypes
|
||||
?? ($due_collect->payment_type_id
|
||||
? ($due_collect->payment_type->name ?? '')
|
||||
: ($due_collect->paymentType ?? '')
|
||||
)
|
||||
}}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{{-- BANK DETAILS --}}
|
||||
@if (($bank_detail->show_in_invoice ?? 0) == 1)
|
||||
<table width="" style="margin-top:10px; border:1px solid #ccc;" cellspacing="0" cellpadding="5">
|
||||
<tr>
|
||||
<td colspan="2" style="font-weight:bold; background:#f5f5f5;">
|
||||
{{ __('Bank Details') }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%">{{ __('Name') }}</td>
|
||||
<td width="60%">: {{ $bank_detail->name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Account No') }}</td>
|
||||
<td>: {{ $bank_detail->meta['account_number'] ?? '' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('UPI ID') }}</td>
|
||||
<td>: {{ $bank_detail->meta['upi_id'] ?? '' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('Holder’s Name') }}</td>
|
||||
<td>: {{ $bank_detail->meta['account_holder'] ?? '' }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
</td>
|
||||
|
||||
{{-- RIGHT SIDE --}}
|
||||
<td width="40%" valign="top" align="right">
|
||||
<table width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="right">{{ __('Payable Amount') }}</td>
|
||||
<td align="right">:</td>
|
||||
<td align="right">
|
||||
{{ currency_format($due_collect->totalDue ?? 0, currency: business_currency()) }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
{{ $party->type === 'Supplier' ? __('Paid Amount') : __('Received Amount') }}
|
||||
</td>
|
||||
<td align="right">:</td>
|
||||
<td align="right">
|
||||
{{ currency_format($due_collect->payDueAmount ?? 0, currency: business_currency()) }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">{{ __('Due Amount') }}</td>
|
||||
<td align="right">:</td>
|
||||
<td align="right">
|
||||
{{ currency_format($due_collect->dueAmountAfterPay ?? 0, currency: business_currency()) }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" style="margin-top:60px;">
|
||||
<tr>
|
||||
<!-- Customer Signature (Left) -->
|
||||
<td align="left">
|
||||
<div style="border-top: 1px solid black">
|
||||
{{ __('Customer Signature') }}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<!-- Authorized Signature (Right) -->
|
||||
<td align="right">
|
||||
<div style="border-top: 1px solid black;">
|
||||
<div style="padding: 8px !important;">
|
||||
{{ __('Authorized Signature') }}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
@if ((get_business_option('business-settings')['show_warranty'] ?? 0) == 1)
|
||||
@if ((get_business_option('business-settings')['show_warranty'] ?? 0) == 1)
|
||||
<div class="warranty-box">
|
||||
<strong>{{ __('Warranty Void') }}</strong> -
|
||||
{{ get_business_option('business-settings')['warranty_void'] ?? '' }}
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user