This commit is contained in:
James Cole
2022-01-20 06:23:42 +01:00
parent 78ebec01a4
commit 8238ae7d0a
3 changed files with 16 additions and 3 deletions

View File

@@ -201,7 +201,12 @@ function getTransactionsForRange() {
var index = indexUri.replace('%start%', $('input[name="start_date"]').val()).replace('%end%', $('input[name="end_date"]').val());
window.history.pushState('object or string', "Reconcile account", index);
$.getJSON(uri).done(placeTransactions);
$.getJSON(uri).done(placeTransactions).catch(exceptionHandling)
}
function exceptionHandling() {
$('#transactions_holder').empty().append($('<p>').addClass('text-center lead').html(selectRangeAndBalance));
$('.start_reconcile').show();
$('.initial_instructions').show();
}
// /**