Current Sell Details (Invoice:{{ $sell->invoice_no }})
{{ __('sale.products') }}:
Total Exchange Amount: 0
{{ __('sale.payment_info') }}:
| # |
{{ __('messages.date') }} |
{{ __('purchase.ref_no') }} |
{{ __('sale.amount') }} |
{{ __('sale.payment_mode') }} |
{{ __('sale.payment_note') }} |
@foreach ($sell->payment_lines as $payment_line)
{{-- @dd($payment_line); --}}
@php
if ($payment_line->is_return == 1) {
$total_paid -= $payment_line->amount;
} else {
$total_paid += $payment_line->amount;
}
@endphp
| {{ $loop->iteration }} |
{{ @format_date($payment_line->paid_on) }} |
{{ $payment_line->payment_ref_no }} |
{{ $payment_line->amount }}
|
{{ $payment_types[$payment_line->method] ?? $payment_line->method }}
@if ($payment_line->is_return == 1)
({{ __('lang_v1.change_return') }})
@endif
|
@if ($payment_line->note)
{{ ucfirst($payment_line->note) }}
@else
--
@endif
|
@endforeach
Exchange Product
@php
$hide_tax = '';
if (session()->get('business.enable_inline_tax') == 0) {
$hide_tax = 'hide';
}
@endphp
@component('components.widget', ['class' => 'box-solid'])
@php
$hide_tax = '';
if (session()->get('business.enable_inline_tax') == 0) {
$hide_tax = 'hide';
}
@endphp
|
@lang('sale.product')
|
@if (!empty($common_settings['enable_serial_number']))
Product Serial |
@endif
@lang('sale.qty')
|
@if (!empty($pos_settings['show_multi_unit']))
Other Unit |
@endif
@if (!empty($pos_settings['inline_service_staff']))
@lang('restaurant.service_staff')
|
@endif
@lang('sale.unit_price')
|
@lang('receipt.discount')
|
@lang('sale.tax')
|
@lang('sale.price_inc_tax')
|
@if (!empty($common_settings['enable_product_warranty']))
@lang('lang_v1.warranty') |
@endif
@lang('sale.subtotal')
|
|
|
@lang('sale.item'):
0
@lang('sale.total'):
0
|
@endcomponent
@component('components.widget', ['class' => 'box-solid'])
{{--
--}}
@php
$max_discount = !is_null(auth()->user()->max_sales_discount_percent)
? auth()->user()->max_sales_discount_percent
: '';
//if sale discount is more than user max discount change it to max discount
$sales_discount = $business_details->default_sales_discount;
if ($max_discount != '' && $sales_discount > $max_discount) {
$sales_discount = $max_discount;
}
$default_sales_tax = $business_details->default_sales_tax;
@endphp
{{--
@lang('sale.discount_amount'):(-)
0
{{ session('business.rp_name') }}
@lang('lang_v1.available'): 0
@lang('lang_v1.redeemed_amount'): (-)0
@lang('sale.order_tax'):(+)
0
--}}
{{--
{!! Form::label('sell_note', __('sale.sell_note')) !!}
{!! Form::textarea('sale_note', null, ['class' => 'form-control', 'rows' => 3]) !!}
--}}
@endcomponent
@php
$is_enabled_download_pdf = config('constants.enable_download_pdf');
$payment_body_id = 'payment_rows_div';
if ($is_enabled_download_pdf) {
$payment_body_id = '';
}
@endphp
@can('sell.payments')
@component('components.widget', [
'class' => 'box-solid',
'id' => $payment_body_id,
'title' => __('purchase.add_payment'),
])
@if ($is_enabled_download_pdf)
@endif
@if (empty($status) || !in_array($status, ['quotation', 'draft']))
@lang('lang_v1.advance_balance'):
{!! Form::hidden('advance_balance', null, [
'id' => 'advance_balance',
'data-error-msg' => __('lang_v1.required_advance_balance_not_available'),
]) !!}
@include('sell_exchange.partials.payment_row', [
'row_index' => 0,
'show_date' => true,
'show_denomination' => true,
])
@lang('lang_v1.balance'):
@endif
@endcomponent
@endcan