From: Moritz Bunkus Date: Mon, 30 Jan 2017 12:26:02 +0000 (+0100) Subject: Kontoauszug verbuchen: aus Zuweisung entfernen zeigt Rechnung wieder in Vorschlägen X-Git-Tag: release-3.5.4~1605 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=04a484b367929f48854b6120229076747726de53;p=kivitendo-erp.git Kontoauszug verbuchen: aus Zuweisung entfernen zeigt Rechnung wieder in Vorschlägen --- diff --git a/js/kivi.BankTransaction.js b/js/kivi.BankTransaction.js index 730e07a4b..08f51334c 100644 --- a/js/kivi.BankTransaction.js +++ b/js/kivi.BankTransaction.js @@ -13,7 +13,7 @@ namespace('kivi.BankTransaction', function(ns) { }; ns.add_invoices = function(bank_transaction_id, proposal_id) { - $('[name=' + proposal_id + ']').remove(); + $('[data-proposal-id=' + proposal_id + ']').hide(); $.ajax({ url: 'controller.pl?action=BankTransaction/ajax_payment_suggestion&bt_id=' + bank_transaction_id + '&prop_id=' + proposal_id, @@ -25,6 +25,7 @@ namespace('kivi.BankTransaction', function(ns) { ns.delete_invoice = function(bank_transaction_id, proposal_id) { $( "#" + bank_transaction_id + "\\." + proposal_id ).remove(); + $('[data-proposal-id=' + proposal_id + ']').show(); }; ns.create_invoice = function(bank_transaction_id) { diff --git a/templates/webpages/bank_transactions/tabs/all.html b/templates/webpages/bank_transactions/tabs/all.html index 04287be9a..529b1dc63 100644 --- a/templates/webpages/bank_transactions/tabs/all.html +++ b/templates/webpages/bank_transactions/tabs/all.html @@ -91,7 +91,7 @@ [% END %] [% FOREACH prop = bt.proposals %] -
+
←[% HTML.escape(prop.invnumber)%]