mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
Removes hardwired options in shop_log, preps for GnuCash CSV.
This commit is contained in:
@@ -147,6 +147,8 @@ $(function() {
|
||||
}
|
||||
});
|
||||
|
||||
// SELECT transaction_id, IF(amount > 0, "yes", "no") AS "deposited", date FROM transaction_log WHERE transaction_type= "Deposit";
|
||||
// deposit range is based on year, but need to go back to past year if deposits included.
|
||||
// gnucash deposit range slider
|
||||
$('#gnucash_csv_range').noUiSlider({
|
||||
start: [ 20, 30 ],
|
||||
@@ -155,6 +157,7 @@ $(function() {
|
||||
'max': 40
|
||||
}
|
||||
});
|
||||
|
||||
// gnucash account multi-select
|
||||
$("#gnucash_csv_accounts").chosen({
|
||||
placeholder_text_multiple: "Select Accounts",
|
||||
@@ -163,6 +166,7 @@ $(function() {
|
||||
|
||||
$("[name='gnucash_csv_year']").chosen();
|
||||
|
||||
|
||||
// null or real number
|
||||
function payment_result(result) {
|
||||
if (result == null) {
|
||||
|
||||
Reference in New Issue
Block a user