add tax column jquery issue solved.
This commit is contained in:
		@@ -482,6 +482,23 @@
 | 
			
		||||
            });
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        $(document).on('hidden.bs.modal', '#modal-create-tax', function () {
 | 
			
		||||
            $('.tax-select2').select2({
 | 
			
		||||
                placeholder: {
 | 
			
		||||
                    id: '-1', // the value of the option
 | 
			
		||||
                    text: "{{ trans('general.form.select.field', ['field' => trans_choice('general.taxes', 1)]) }}"
 | 
			
		||||
                },
 | 
			
		||||
                escapeMarkup: function (markup) {
 | 
			
		||||
                    return markup;
 | 
			
		||||
                },
 | 
			
		||||
                language: {
 | 
			
		||||
                    noResults: function () {
 | 
			
		||||
                        return '<span id="tax-add-new"><i class="fa fa-plus-circle"></i> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            });
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        function totalItem() {
 | 
			
		||||
            $.ajax({
 | 
			
		||||
                url: '{{ url("common/items/totalItem") }}',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user