diff --git a/Resources/views/index.blade.php b/Resources/views/index.blade.php
index 7c4fc76..e180289 100644
--- a/Resources/views/index.blade.php
+++ b/Resources/views/index.blade.php
@@ -1,299 +1,299 @@
@extends('backend.layout.main')
@section('content')
-@if ($errors->has('title'))
-
- {{ $errors->first('title') }}
-
-@endif
-@if (session()->has('message'))
-
- {{ session()->get('message') }}
-
-@endif
-@if (session()->has('not_permitted'))
-
- {{ session()->get('not_permitted') }}
-
-@endif
+ @if ($errors->has('title'))
+
+ {{ $errors->first('title') }}
+
+ @endif
+ @if (session()->has('message'))
+
+ {{ session()->get('message') }}
+
+ @endif
+ @if (session()->has('not_permitted'))
+
+ {{ session()->get('not_permitted') }}
+
+ @endif
-
-
-
-
-
+
+
+
-
-
-
Credit Sale Collections
-
-
-
-
- | Original Bill Date |
- Reference Number |
- Cashier |
- Customer |
- Grand Total |
- @foreach ($paymentOptions as $option)
- {{ $option->name }} |
+
+
+
Credit Sale Collections
+
+
+
+
+ | Original Bill Date |
+ Reference Number |
+ Cashier |
+ Customer |
+ Grand Total |
+ @foreach ($paymentOptions as $option)
+ {{ $option->name }} |
+ @endforeach
+
+
+
+ @foreach ($creditCollections as $row)
+
+ | {{ \Carbon\Carbon::parse($row['date'])->format('Y-m-d') }} |
+ {{ $row['reference'] }} |
+ {{ $row['cashier'] }} |
+ {{ $row['customer'] }} |
+ {{ number_format($row['grand_total'], 2) }} |
+ @foreach ($paymentOptions as $option)
+ {{ number_format($row['methods'][$option->id] ?? 0, 2) }} |
+ @endforeach
+
@endforeach
-
-
-
- @foreach ($creditCollections as $row)
-
- | {{ \Carbon\Carbon::parse($row['date'])->format('Y-m-d') }} |
- {{ $row['reference'] }} |
- {{ $row['cashier'] }} |
- {{ $row['customer'] }} |
- {{ number_format($row['grand_total'], 2) }} |
- @foreach ($paymentOptions as $option)
- {{ number_format($row['methods'][$option->id] ?? 0, 2) }} |
- @endforeach
-
- @endforeach
-
-
-
- | Total |
- 0.00 |
- @foreach ($paymentOptions as $option)
- 0.00 |
- @endforeach
-
-
-
+
+
+
+ | Total |
+ 0.00 |
+ @foreach ($paymentOptions as $option)
+ 0.00 |
+ @endforeach
+
+
+
+
-
-
-
-
Payment Method Summary
-
-
-
-
- | Payment Option |
- Sale Amount |
- Received Amount |
- Total Amount |
-
-
-
-
- | Cash |
- 0.00 |
- 0.00 |
- 0.00 |
-
-
- | Card 1 |
- 0.00 |
- 0.00 |
- 0.00 |
-
-
- | Card 2 |
- 0.00 |
- 0.00 |
- 0.00 |
-
-
- | Card 3 |
- 0.00 |
- 0.00 |
- 0.00 |
-
-
- | Online Transfer |
- 0.00 |
- 0.00 |
- 0.00 |
-
-
- | Link Pay |
- 0.00 |
- 0.00 |
- 0.00 |
-
-
-
-
- | Grand Total |
- 0.00 |
- 0.00 |
- 0.00 |
-
-
-
+
+
+
Payment Method Summary
+
+
+
+
+ | Payment Option |
+ Sale Amount |
+ Received Amount |
+ Total Amount |
+
+
+
+
+ | Cash |
+ 0.00 |
+ 0.00 |
+ 0.00 |
+
+
+ | Card 1 |
+ 0.00 |
+ 0.00 |
+ 0.00 |
+
+
+ | Card 2 |
+ 0.00 |
+ 0.00 |
+ 0.00 |
+
+
+ | Card 3 |
+ 0.00 |
+ 0.00 |
+ 0.00 |
+
+
+ | Online Transfer |
+ 0.00 |
+ 0.00 |
+ 0.00 |
+
+
+ | Link Pay |
+ 0.00 |
+ 0.00 |
+ 0.00 |
+
+
+
+
+ | Grand Total |
+ 0.00 |
+ 0.00 |
+ 0.00 |
+
+
+
+
-
-
+
-
+ table {
+ border-collapse: collapse !important;
+ }
+
@endsection
@push('scripts')
-
+
@endpush
\ No newline at end of file