@extends('layouts.horizontal', ['title' => 'Create Service Invoice', 'topbarTitle' => 'Create Invoice']) @section('css') @vite(['node_modules/flatpickr/dist/flatpickr.min.css']) @endsection @section('content')
@php $subTotal=0; $row = 1; @endphp @foreach($invoice_services as $service) @php $subTotal = $subTotal + $service->price; @endphp @php $row++ @endphp @endforeach
... # Item Discription Staff Requested Discount Type Discount Addition Price
{{ $row }} {{ $service->service_type }} {{ $service->service_category }} {{ $service->service_name }} {!! $service->staff !!} {{ $service->requested }} {{ $service->discount_type }} {{ sprintf('%.2f', $service->discount) }} {{ sprintf('%.2f', $service->addition) }} {{ sprintf('%.2f', $service->price) }}
Subtotal {{ config('constants.CURRENCY') }}
{{ sprintf('%.2f', $subTotal) }}
Discount
{{ sprintf('%.2f' , $invoice->discount*-1) }}
Other Charges
{{ sprintf('%.2f' , $invoice->other_charges) }}
Total Before Tax
{{ sprintf('%.2f' , $invoice->gross_wo_tax) }}
Tax
{{ sprintf('%.2f' , $invoice->tax_total) }}
Total Amount
{{ sprintf('%.2f' , $invoice->gross_amount) }}
CC Fee
{{ sprintf('%.2f' , $invoice->cc_charge) }}
CC Tip
{{ sprintf('%.2f' , $invoice->cc_tip) }}
POS Charges
{{ sprintf('%.2f' , $invoice->pos_charge) }}
Advance
{{ sprintf('%.2f' , $invoice->advance_amount*-1) }}
Rounding Adjustment
{{ sprintf('%.2f' , $invoice->rounding_adjustment) }}
Total Payable
{{ sprintf('%.2f' , $invoice->total_payable) }}
Paid Amount
{{ sprintf('%.2f' , $invoice->paid_amount) }}
Recovered Amount
{{ sprintf('%.2f' , $invoice->paid_earlier) }}
CC Fee
Rounding Adjustment
Reveivable
Paying Now
Paid Cash
Paid Card
Loyalty Used
Retained Used
Voucher Used
Return Cash
Balance
Instrument # :
Verify Voucher# :
Payment Mode :
Customer Retained Amount: {{ config('constants.CURRENCY') }} {{ $retained_amount }}
Loyalty Points: {{ config('constants.CURRENCY') }} {{ $customer->loyalty_points }}
@endsection @section('scripts') @endsection