close #727 Fixed: Invoice/Bill new tax added get not selected

This commit is contained in:
cuneytsenturk
2019-01-15 15:58:28 +03:00
parent 7b65cedb41
commit 82e5a48d7d
6 changed files with 17 additions and 5 deletions

View File

@ -389,7 +389,7 @@
url: '{{ url("modals/taxes/create") }}',
type: 'GET',
dataType: 'JSON',
data: {name: tax_name},
data: {name: tax_name, tax_selector: '.tax-select2'},
success: function(json) {
if (json['success']) {
$('body').append(json['html']);