diff --git a/routes/web.php b/routes/web.php
index b90ef72e..d6798271 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -879,3 +879,61 @@ Route::get('/invoice/{marking}/{started_at}/{ended_at}/fix', function($marking,
}
);
})->name('invoice.fix.byCustomerMarking');
+
+
+Route::get('/show-white-form-transactions-in-date-range/{from_date}/{to_date}', function ($from_date, $to_date) {
+ $approvedTransactions = Transaction::where('type', TransactionType::PAYMENT)->where('status', ApprovalStatus::APPROVED)->where('owner_type', '!=', Wallet::class)->get();
+
+ echo '
Approved Payments
';
+ echo '';
+ echo '';
+ echo '';
+ echo '| Booking | ';
+ echo 'Payment Date | ';
+ echo '
';
+ echo '';
+ echo '';
+
+ foreach ($approvedTransactions as $approvedTransaction) {
+ echo '';
+ echo '| ' . $approvedTransaction->owner->marking . ' | ';
+ echo '' . $approvedTransaction->created_at . ' | ';
+ echo '
';
+ }
+
+ echo '';
+ echo '
';
+
+ $startDate = Carbon::createFromFormat('d-m-Y', $from_date)->startOfDay();
+ $endDate = Carbon::createFromFormat('d-m-Y', $to_date)->endOfDay();
+
+ $approvalSatatusArray = ApprovalStatus::APPROVAL_STATUS_ID;
+
+ echo 'Bills in the date range
';
+ echo '';
+ echo '';
+ echo '';
+ echo '| Status | ';
+ echo 'Bills Created At | ';
+ echo 'Booking | ';
+ echo 'Payment Date | ';
+ echo '
';
+ echo '';
+ echo '';
+
+
+ $datas = Transaction::where('type', TransactionType::BILL)->whereBetween('created_at', [$startDate, $endDate])->get();
+
+ foreach ($datas as $data) {
+ echo '';
+ $payment = $data->owner;
+ echo '| ' . $approvalSatatusArray[$data['status']] . ' | ';
+ echo '' . $data->created_at . ' | ';
+ echo '' . $data->owner->owner->marking . ' | ';
+ echo '' . $payment->created_at . ' | ';
+ echo '
';
+ }
+
+ echo '';
+ echo '
';
+});