Removes hardwired options in shop_log, preps for GnuCash CSV.

This commit is contained in:
Jonathan Rosenbaum
2015-01-22 04:36:25 +00:00
parent 04c2574c99
commit ab87744f46
3 changed files with 7 additions and 4 deletions
+4
View File
@@ -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) {