mirror of
https://github.com/itflow-org/itflow
synced 2026-09-21 14:11:17 +00:00
Initial migration from AdminLTE 3 to 4, bootstrap 4 to 5
This commit is contained in:
@@ -27,9 +27,9 @@ $largest_expense_month = 0;
|
||||
|
||||
<div class="card card-dark">
|
||||
<div class="card-header py-2">
|
||||
<h3 class="card-title mt-2"><i class="fas fa-fw fa-coins mr-2"></i>Expense Summary</h3>
|
||||
<h3 class="card-title mt-2"><i class="fas fa-fw fa-coins me-2"></i>Expense Summary</h3>
|
||||
<div class="card-tools">
|
||||
<button type="button" class="btn btn-primary d-print-none" onclick="window.print();"><i class="fas fa-fw fa-print mr-2"></i>Print</button>
|
||||
<button type="button" class="btn btn-primary d-print-none" onclick="window.print();"><i class="fas fa-fw fa-print me-2"></i>Print</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@@ -51,19 +51,19 @@ $largest_expense_month = 0;
|
||||
<thead class="text-dark">
|
||||
<tr>
|
||||
<th>Category</th>
|
||||
<th class="text-right">January</th>
|
||||
<th class="text-right">February</th>
|
||||
<th class="text-right">March</th>
|
||||
<th class="text-right">April</th>
|
||||
<th class="text-right">May</th>
|
||||
<th class="text-right">June</th>
|
||||
<th class="text-right">July</th>
|
||||
<th class="text-right">August</th>
|
||||
<th class="text-right">September</th>
|
||||
<th class="text-right">October</th>
|
||||
<th class="text-right">November</th>
|
||||
<th class="text-right">December</th>
|
||||
<th class="text-right">Total</th>
|
||||
<th class="text-end">January</th>
|
||||
<th class="text-end">February</th>
|
||||
<th class="text-end">March</th>
|
||||
<th class="text-end">April</th>
|
||||
<th class="text-end">May</th>
|
||||
<th class="text-end">June</th>
|
||||
<th class="text-end">July</th>
|
||||
<th class="text-end">August</th>
|
||||
<th class="text-end">September</th>
|
||||
<th class="text-end">October</th>
|
||||
<th class="text-end">November</th>
|
||||
<th class="text-end">December</th>
|
||||
<th class="text-end">Total</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -80,13 +80,13 @@ $largest_expense_month = 0;
|
||||
$expense_amount_for_month = floatval($rowm['expense_amount_for_month']);
|
||||
$total_expense_for_all_months += $expense_amount_for_month;
|
||||
?>
|
||||
<td class="text-right">
|
||||
<td class="text-end">
|
||||
<a class="text-dark" href="expenses.php?q=<?= $category_name ?>&dtf=<?= "$year-$month" ?>-01&dtt=<?= "$year-$month" ?>-31">
|
||||
<?= numfmt_format_currency($currency_format, $expense_amount_for_month, $session_company_currency) ?>
|
||||
</a>
|
||||
</td>
|
||||
<?php } ?>
|
||||
<th class="text-right">
|
||||
<th class="text-end">
|
||||
<a class="text-dark" href="expenses.php?q=<?= $category_name ?>&dtf=<?= $year ?>-01-01&dtt=<?= $year ?>-12-31">
|
||||
<?= numfmt_format_currency($currency_format, $total_expense_for_all_months, $session_company_currency) ?>
|
||||
</a>
|
||||
@@ -104,13 +104,13 @@ $largest_expense_month = 0;
|
||||
$expense_total_amount_for_month = floatval($rowt['expense_total_amount_for_month']);
|
||||
$grand_total_all_months += $expense_total_amount_for_month;
|
||||
?>
|
||||
<th class="text-right">
|
||||
<th class="text-end">
|
||||
<a class="text-dark" href="expenses.php?dtf=<?= "$year-$month" ?>-01&dtt=<?= "$year-$month" ?>-31">
|
||||
<?= numfmt_format_currency($currency_format, $expense_total_amount_for_month, $session_company_currency) ?>
|
||||
</a>
|
||||
</th>
|
||||
<?php } ?>
|
||||
<th class="text-right">
|
||||
<th class="text-end">
|
||||
<a class="text-dark" href="expenses.php?dtf=<?= $year ?>-01-01&dtt=<?= $year ?>-12-31">
|
||||
<?= numfmt_format_currency($currency_format, $grand_total_all_months, $session_company_currency) ?>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user