Merge fix/manual-journal
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
<?php
|
||||
session_start();
|
||||
require '../config.php';
|
||||
require '../include_header.php';
|
||||
|
||||
// A detail-only page: payments are created from the Payments list, so with no
|
||||
// id there is nothing to show. Send the user there instead of rendering an
|
||||
// empty page that alerts "Payment id is required."
|
||||
$payment_id = (int)($_GET['id'] ?? 0);
|
||||
if (!$payment_id) {
|
||||
header('Location: ' . $server_url . 'finance/payment.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
require '../include_header.php';
|
||||
?>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -1,9 +1,17 @@
|
||||
<?php
|
||||
session_start();
|
||||
require '../config.php';
|
||||
require '../include_header.php';
|
||||
|
||||
// A detail-only page: payment billings are created from their list, so with
|
||||
// no id there is nothing to show. Send the user there instead of rendering an
|
||||
// empty page that alerts "Payment billing id is required."
|
||||
$billing_id = (int)($_GET['id'] ?? 0);
|
||||
if (!$billing_id) {
|
||||
header('Location: ' . $server_url . 'finance/payment_billing.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
require '../include_header.php';
|
||||
?>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -1,9 +1,17 @@
|
||||
<?php
|
||||
session_start();
|
||||
require '../config.php';
|
||||
require '../include_header.php';
|
||||
|
||||
// A detail-only page: receipts are created from the Receipts list, so with no
|
||||
// id there is nothing to show. Send the user there instead of rendering an
|
||||
// empty page that alerts "Receipt id is required."
|
||||
$receipt_id = (int)($_GET['id'] ?? 0);
|
||||
if (!$receipt_id) {
|
||||
header('Location: ' . $server_url . 'finance/receipt.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
require '../include_header.php';
|
||||
?>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -1,9 +1,17 @@
|
||||
<?php
|
||||
session_start();
|
||||
require '../config.php';
|
||||
require '../include_header.php';
|
||||
|
||||
// A detail-only page: receipt billings are created from their list, so with
|
||||
// no id there is nothing to show. Send the user there instead of rendering an
|
||||
// empty page that alerts "Receipt billing id is required."
|
||||
$billing_id = (int)($_GET['id'] ?? 0);
|
||||
if (!$billing_id) {
|
||||
header('Location: ' . $server_url . 'finance/receipt_billing.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
require '../include_header.php';
|
||||
?>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user