Revision 32dc7476
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
js/kivi.BankTransaction.js | ||
---|---|---|
44 | 44 |
ns.create_invoice = function(bank_transaction_id) { |
45 | 45 |
kivi.popup_dialog({ |
46 | 46 |
url: 'controller.pl?action=BankTransaction/create_invoice', |
47 |
data: '&bt_id=' + bank_transaction_id + "&filter.bank_account=" + $('#filter_bankaccount').val() + '&filter.fromdate=' + $('#filter_fromdate').val() + '&filter.todate=' + $('#filter_todate').val(), |
|
47 |
data: '&bt_id=' + bank_transaction_id + "&filter.bank_account=" + $('#filter_bank_account').val() + '&filter.fromdate=' + $('#filter_fromdate').val() + '&filter.todate=' + $('#filter_todate').val(),
|
|
48 | 48 |
type: 'POST', |
49 | 49 |
id: 'create_invoice_window', |
50 | 50 |
dialog: { title: kivi.t8('Create invoice') } |
... | ... | |
130 | 130 |
|
131 | 131 |
$dlg.dialog('close'); |
132 | 132 |
}; |
133 |
|
|
134 |
ns.filter_templates = function() { |
|
135 |
var url="controller.pl?action=BankTransaction/filter_templates&" + $("#create_invoice_window form").serialize(); |
|
136 |
$.ajax({ |
|
137 |
url: url, |
|
138 |
success: function(new_data) { |
|
139 |
$("#templates").html(new_data.error || new_data.html); |
|
140 |
} |
|
141 |
}); |
|
142 |
}; |
|
133 | 143 |
}); |
Auch abrufbar als: Unified diff
Bankauszug verbuchen: Umstellung auf Belegvorlagen & Filter-Fixes