reworked transfers, added revenues to add income in other ways besides just invoices, reports now uses a compact table to see all data clearly and some other minor fixes.

This commit is contained in:
johnny@pittpc.com
2019-08-11 13:42:35 -04:00
parent cae9b2b13b
commit 0c4021fd23
23 changed files with 697 additions and 87 deletions

18
update_revenues.php Normal file
View File

@@ -0,0 +1,18 @@
<?php include("header.php");
$sql = mysqli_query($mysqli,"SELECT * FROM transfers");
?>
<?php
while($row = mysqli_fetch_array($sql)){
$revenue_id = $row['revenue_id'];
mysqli_query($mysqli,"UPDATE revenues SET category_id = 0 WHERE revenue_id = $revenue_id");
}
?>
<?php include("footer.php");