Hide Archived dropdowns when adding adding a new item, except when you are editing an item from before the archived date, Do not allow archiving account until balance is 0.

This commit is contained in:
johnny@pittpc.com
2021-02-07 13:58:42 -05:00
parent 71a183993b
commit 274e1dc9e8
38 changed files with 78 additions and 52 deletions

View File

@@ -1,7 +1,7 @@
<?php include("header.php"); ?>
<?php
include("header.php");
if(isset($_GET['invoice_id'])){
$invoice_id = intval($_GET['invoice_id']);
@@ -26,6 +26,7 @@ if(isset($_GET['invoice_id'])){
$invoice_amount = $row['invoice_amount'];
$invoice_note = $row['invoice_note'];
$invoice_url_key = $row['invoice_url_key'];
$invoice_created_at = $row['invoice_created_at'];
$category_id = $row['category_id'];
$client_id = $row['client_id'];
$client_name = $row['client_name'];