mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-23 01:03:23 -05:00
Adds new logic to handle 1-only real depost.
1). If 1 real deposit exists, and next real deposit hasn't been deposited.
This commit is contained in:
parent
5e11243d41
commit
deaa8ea02f
@ -97,7 +97,7 @@ $change_fund = CHANGE_FUND;
|
||||
}
|
||||
|
||||
// this is the first real deposit
|
||||
if ($slider_range && !$slider_range[1]["transaction_id"]) {
|
||||
if ( ($slider_range && !$slider_range[1]["transaction_id"]) || ($slider_range && $slider_range[1]["deposited"] == "no") ) {
|
||||
$fake_trans_id = $slider_range[0]["transaction_id"] - 1;
|
||||
$real_trans = $slider_range[0];
|
||||
$year = date("Y");
|
||||
|
Loading…
x
Reference in New Issue
Block a user