mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
Cleans up the code, and allows proper behavior.
1. async:false because mysql can be slow 2. improved a regexp causing weird behavior with edit button
This commit is contained in:
@@ -41,8 +41,9 @@ mysql_select_db($database_YBDB, $YBDB);
|
||||
$result = mysql_fetch_assoc($sql);
|
||||
|
||||
|
||||
if ( $visible_count == $result["count"] ) { // 1 or more deposits, and all deposits are visible
|
||||
|
||||
if ( $visible_count == $result["count"] ) { // 1 or more deposits, and all deposits are visible
|
||||
|
||||
|
||||
foreach ( $deposit as $key => $value ) {
|
||||
if ( $c > $key ) {
|
||||
$query = 'SELECT SUM(IF(payment_type="check", amount, 0)) AS "check",
|
||||
|
||||
Reference in New Issue
Block a user