@extends('layout.admin') @section('head') @extends('layout.header') @section('header_title', 'Today Cancel Appointments') @endsection @section('content')
| # | Customer Name | Date | Total Amount | Bill Discount | Net Amount | Total Cash | Total Card | Total Online | Total Paid | Credit | Employee | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $appointment->appointment->customers->Full_Name ?? 'Customer not found' }} | {{ $appointment->Date_Time }} | {{ number_format($appointment->Total_Amount, 2, '.', '') }} | {{ $appointment->Bill_Discount }} | {{ number_format($appointment->Net_Amount, 2, '.', '') }} | {{ number_format($appointment->Cash_Paid, 2, '.', '') }} | {{ number_format($appointment->Card_Paid, 2, '.', '') }} | {{ number_format($appointment->Online_Paid, 2, '.', '') }} | {{ number_format($appointment->Total_Paid, 2, '.', '') }} | {{ number_format($appointment->Balance, 2, '.', '') }} | {{ $appointment->appointment->employees->Full_Name ?? 'Employee not found' }} | ||||||
| Total Amount: | {{ number_format($totalAmount, 2, '.', '') }} | ||||||||||||||||
| Total Paid: | {{ number_format($totalPaid, 2, '.', '') }} | ||||||||||||||||