mirror of
https://github.com/itflow-org/itflow
synced 2026-08-24 00:15:12 +00:00
Use Short echo tags across the code
This commit is contained in:
@@ -39,7 +39,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
while ($row = mysqli_fetch_assoc($sql_all_years)) {
|
||||
$all_years = intval($row['all_years']);
|
||||
?>
|
||||
<option <?php if ($year == $all_years) { ?> selected <?php } ?> > <?php echo $all_years; ?></option>
|
||||
<option <?php if ($year == $all_years) { ?> selected <?php } ?> > <?= $all_years ?></option>
|
||||
|
||||
<?php
|
||||
}
|
||||
@@ -71,7 +71,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $category_name; ?></td>
|
||||
<td><?= $category_name ?></td>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -93,7 +93,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $payment_amount_for_quarter_one, $session_company_currency); ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $payment_amount_for_quarter_one, $session_company_currency) ?></td>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -115,7 +115,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $payment_amount_for_quarter_two, $session_company_currency); ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $payment_amount_for_quarter_two, $session_company_currency) ?></td>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -136,7 +136,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $payment_amount_for_quarter_three, $session_company_currency); ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $payment_amount_for_quarter_three, $session_company_currency) ?></td>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -159,9 +159,9 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $payment_amount_for_quarter_four, $session_company_currency); ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $payment_amount_for_quarter_four, $session_company_currency) ?></td>
|
||||
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $total_payments_for_all_four_quarters, $session_company_currency); ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $total_payments_for_all_four_quarters, $session_company_currency) ?></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
@@ -194,7 +194,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $payment_total_amount_for_quarter_one, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $payment_total_amount_for_quarter_one, $session_company_currency) ?></th>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -216,7 +216,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $payment_total_amount_for_quarter_two, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $payment_total_amount_for_quarter_two, $session_company_currency) ?></th>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -238,7 +238,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $payment_total_amount_for_quarter_three, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $payment_total_amount_for_quarter_three, $session_company_currency) ?></th>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -262,9 +262,9 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $payment_total_amount_for_quarter_four, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $payment_total_amount_for_quarter_four, $session_company_currency) ?></th>
|
||||
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $total_payments_for_all_four_quarters, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $total_payments_for_all_four_quarters, $session_company_currency) ?></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@@ -278,7 +278,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $category_name; ?></td>
|
||||
<td><?= $category_name ?></td>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -292,7 +292,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $expense_amount_for_quarter_one, $session_company_currency); ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $expense_amount_for_quarter_one, $session_company_currency) ?></td>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -306,7 +306,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $expense_amount_for_quarter_two, $session_company_currency); ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $expense_amount_for_quarter_two, $session_company_currency) ?></td>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -320,7 +320,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $expense_amount_for_quarter_three, $session_company_currency); ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $expense_amount_for_quarter_three, $session_company_currency) ?></td>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -336,9 +336,9 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $expense_amount_for_quarter_four, $session_company_currency); ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $expense_amount_for_quarter_four, $session_company_currency) ?></td>
|
||||
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $total_expenses_for_all_four_quarters, $session_company_currency); ?></td>
|
||||
<td class="text-right"><?= numfmt_format_currency($currency_format, $total_expenses_for_all_four_quarters, $session_company_currency) ?></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
@@ -363,7 +363,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $expense_total_amount_for_quarter_one, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $expense_total_amount_for_quarter_one, $session_company_currency) ?></th>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -377,7 +377,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $expense_total_amount_for_quarter_two, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $expense_total_amount_for_quarter_two, $session_company_currency) ?></th>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -391,7 +391,7 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $expense_total_amount_for_quarter_three, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $expense_total_amount_for_quarter_three, $session_company_currency) ?></th>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -407,9 +407,9 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
|
||||
?>
|
||||
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $expense_total_amount_for_quarter_four, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $expense_total_amount_for_quarter_four, $session_company_currency) ?></th>
|
||||
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $total_expenses_for_all_four_quarters, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $total_expenses_for_all_four_quarters, $session_company_currency) ?></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php
|
||||
@@ -421,11 +421,11 @@ $sql_categories_expense = mysqli_query($mysqli, "SELECT * FROM categories WHERE
|
||||
?>
|
||||
|
||||
<th>Net Profit</th>
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $net_profit_quarter_one, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $net_profit_quarter_two, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $net_profit_quarter_three, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $net_profit_quarter_four, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?php echo numfmt_format_currency($currency_format, $net_profit_year, $session_company_currency); ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $net_profit_quarter_one, $session_company_currency) ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $net_profit_quarter_two, $session_company_currency) ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $net_profit_quarter_three, $session_company_currency) ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $net_profit_quarter_four, $session_company_currency) ?></th>
|
||||
<th class="text-right"><?= numfmt_format_currency($currency_format, $net_profit_year, $session_company_currency) ?></th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user