typo
This commit is contained in:
		
							
								
								
									
										2
									
								
								resources/assets/js/mixins/global.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								resources/assets/js/mixins/global.js
									
									
									
									
										vendored
									
									
								
							@@ -1011,7 +1011,7 @@ export default {
 | 
			
		||||
 | 
			
		||||
                this.component = Vue.component('add-new-component', (resolve, reject) => {
 | 
			
		||||
                    resolve({
 | 
			
		||||
                        template: '<div id="dynamic-email-component"><akaunting-modal-add-new modal-dialog-class="max-w-screen-md" :show="email.modal" @submit="onSubmit" @cancel="onCancel" :buttons="email.buttons" :title="email.title" :is_component=true :message="email.html"></akaunting-modal-add-new></div>',
 | 
			
		||||
                        template: '<div id="dynamic-email-component"><akaunting-modal-add-new modal-dialog-class="max-w-screen-md" modal-position-top :show="email.modal" @submit="onSubmit" @cancel="onCancel" :buttons="email.buttons" :title="email.title" :is_component=true :message="email.html"></akaunting-modal-add-new></div>',
 | 
			
		||||
 | 
			
		||||
                        components: {
 | 
			
		||||
                            AkauntingDropzoneFileUpload,
 | 
			
		||||
 
 | 
			
		||||
@@ -621,6 +621,7 @@ const app = new Vue({
 | 
			
		||||
        onChangeCurrency(currency_code) {
 | 
			
		||||
            if (this.edit.status && this.edit.currency <= 2) {
 | 
			
		||||
                this.edit.currency++;
 | 
			
		||||
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -141,7 +141,7 @@ const app = new Vue({
 | 
			
		||||
            });
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
        // Change currency get money
 | 
			
		||||
        // Change currency get money override because remove form currency_code and currency_rate column
 | 
			
		||||
        onChangeCurrency(currency_code) {
 | 
			
		||||
            if (! currency_code) {
 | 
			
		||||
                return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user