Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-08 23:30:22 -04:00
parent 567dc24649
commit c792b8be05
1288 changed files with 10766 additions and 9669 deletions
@@ -50,7 +50,7 @@ class FinancialPaymentService
}
$method = (string) ($row['method'] ?? '');
$amount = (float) ($row['amount'] ?? 0);
if (!isset($breakdown[$invoiceId])) {
if (! isset($breakdown[$invoiceId])) {
$breakdown[$invoiceId] = [];
}
$breakdown[$invoiceId][$method] = $amount;
@@ -85,13 +85,13 @@ class FinancialPaymentService
{
$query = DB::table('payments');
if (!empty($schoolYear)) {
if (! empty($schoolYear)) {
$query->where('school_year', $schoolYear);
}
if (!empty($dateFrom)) {
if (! empty($dateFrom)) {
$query->whereRaw('DATE(payment_date) >= ?', [$dateFrom]);
}
if (!empty($dateTo)) {
if (! empty($dateTo)) {
$query->whereRaw('DATE(payment_date) <= ?', [$dateTo]);
}