@extends('layouts.horizontal', ['title' => 'Create Service Invoice', 'topbarTitle' => 'Create Invoice', 'nonav' => true]) @section('css') @vite(['node_modules/flatpickr/dist/flatpickr.min.css']) @endsection @section('content')
@php $subTotal=0; $row = 1; @endphp @foreach($visit_services as $service) @php $subTotal = $subTotal + $service->s_rate; @endphp @php $row++ @endphp @endforeach
... # Item Discription Staff Requested Discount Type Discount Addition Price
{{ $row }} {{ $service->s_type }} {{ $service->service_name }} {!! $service->staff !!} requested }} name="requested" type="checkbox"> {{ $service->s_rate }}
@php $tax_amount = 0; @endphp @foreach($business_taxes as $bt) @endforeach
Subtotal {{ config('constants.CURRENCY') }}
Other Charges
Total Before Tax
{{ $bt->tax_name }} ({{ $bt->tax_percentage }}%)
@php $tax_perc = $bt->tax_percentage; $tax_amount = ($subTotal*$tax_perc)/100; @endphp
Total Amount
CC Fee
CC Tip
POS Charges
Advance
Rounding Adjustment
Total Payable
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