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