close #340 Fixed: Invoice amount does not change on tax change
This commit is contained in:
@ -264,7 +264,6 @@
|
|||||||
placement: 'bottom',
|
placement: 'bottom',
|
||||||
title: '{{ trans('bills.discount') }}',
|
title: '{{ trans('bills.discount') }}',
|
||||||
content: function () {
|
content: function () {
|
||||||
|
|
||||||
html = '<div class="discount box-body">';
|
html = '<div class="discount box-body">';
|
||||||
html += ' <div class="col-md-6">';
|
html += ' <div class="col-md-6">';
|
||||||
html += ' <div class="input-group" id="input-discount">';
|
html += ' <div class="input-group" id="input-discount">';
|
||||||
|
@ -297,7 +297,6 @@
|
|||||||
placement: 'bottom',
|
placement: 'bottom',
|
||||||
title: '{{ trans('bills.discount') }}',
|
title: '{{ trans('bills.discount') }}',
|
||||||
content: function () {
|
content: function () {
|
||||||
|
|
||||||
html = '<div class="discount box-body">';
|
html = '<div class="discount box-body">';
|
||||||
html += ' <div class="col-md-6">';
|
html += ' <div class="col-md-6">';
|
||||||
html += ' <div class="input-group" id="input-discount">';
|
html += ' <div class="input-group" id="input-discount">';
|
||||||
@ -344,7 +343,6 @@
|
|||||||
$('a[rel=popover]').trigger('click');
|
$('a[rel=popover]').trigger('click');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
$(document).on('change', '#currency_code, #items tbody select', function(){
|
$(document).on('change', '#currency_code, #items tbody select', function(){
|
||||||
totalItem();
|
totalItem();
|
||||||
});
|
});
|
||||||
|
@ -265,7 +265,6 @@
|
|||||||
placement: 'bottom',
|
placement: 'bottom',
|
||||||
title: '{{ trans('invoices.discount') }}',
|
title: '{{ trans('invoices.discount') }}',
|
||||||
content: function () {
|
content: function () {
|
||||||
|
|
||||||
html = '<div class="discount box-body">';
|
html = '<div class="discount box-body">';
|
||||||
html += ' <div class="col-md-6">';
|
html += ' <div class="col-md-6">';
|
||||||
html += ' <div class="input-group" id="input-discount">';
|
html += ' <div class="input-group" id="input-discount">';
|
||||||
@ -312,6 +311,10 @@
|
|||||||
$('a[rel=popover]').trigger('click');
|
$('a[rel=popover]').trigger('click');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on('change', '#currency_code, #items tbody select', function(){
|
||||||
|
totalItem();
|
||||||
|
});
|
||||||
|
|
||||||
$(document).on('keyup', '#items tbody .form-control', function(){
|
$(document).on('keyup', '#items tbody .form-control', function(){
|
||||||
totalItem();
|
totalItem();
|
||||||
});
|
});
|
||||||
|
@ -296,7 +296,6 @@
|
|||||||
placement: 'bottom',
|
placement: 'bottom',
|
||||||
title: '{{ trans('invoices.discount') }}',
|
title: '{{ trans('invoices.discount') }}',
|
||||||
content: function () {
|
content: function () {
|
||||||
|
|
||||||
html = '<div class="discount box-body">';
|
html = '<div class="discount box-body">';
|
||||||
html += ' <div class="col-md-6">';
|
html += ' <div class="col-md-6">';
|
||||||
html += ' <div class="input-group" id="input-discount">';
|
html += ' <div class="input-group" id="input-discount">';
|
||||||
|
@ -85,4 +85,3 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- /.box -->
|
<!-- /.box -->
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user