mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Fixes a bug where storage transactions don't show up in searches if NULL.
1. Also adds a configuration for a directory to write/download csv files from. 2. Including directions for the above.
This commit is contained in:
@@ -266,6 +266,14 @@ $(function() {
|
||||
}
|
||||
});
|
||||
|
||||
// If storage date is NULL, update to 0000-00-00 on save
|
||||
$("#save_transaction").click(function() {
|
||||
if ( !$("#date").val().length ) {
|
||||
$("#date").val("0000-00-00");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
} // end testing for storage presentation
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user