@extends('layouts.admin') @section('title', 'Deductions') @push('styles') @endpush @section('content')
| Deduction # | Merchant | Type | Amount | Date | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $deduction->deduction_number }} | {{ $deduction->merchant->name ?? 'N/A' }} | {{ ucfirst(str_replace('_', ' ', $deduction->deduction_type)) }} | Rs. {{ number_format($deduction->amount, 2) }} | {{ $deduction->deduction_date->format('M d, Y') }} | @if($deduction->status == 'pending') Pending @elseif($deduction->status == 'approved') Approved @elseif($deduction->status == 'rejected') Rejected @else Applied @endif | View @if($deduction->status == 'pending') @endif |
| No deductions found | ||||||