Invoice/Bill currency field issue solved.
This commit is contained in:
		
							
								
								
									
										4
									
								
								resources/assets/js/views/purchases/bills.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								resources/assets/js/views/purchases/bills.js
									
									
									
									
										vendored
									
									
								
							@@ -110,8 +110,8 @@ const app = new Vue({
 | 
			
		||||
            })
 | 
			
		||||
            .then(response => {
 | 
			
		||||
                this.currency = response.data;
 | 
			
		||||
                this.form.currency_code = response.data.currency_code;
 | 
			
		||||
                this.form.currency_rate = response.data.currency_rate;
 | 
			
		||||
                this.form.currency_code = response.data.code;
 | 
			
		||||
                this.form.currency_rate = response.data.rate;
 | 
			
		||||
            })
 | 
			
		||||
            .catch(error => {
 | 
			
		||||
            });
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								resources/assets/js/views/sales/invoices.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								resources/assets/js/views/sales/invoices.js
									
									
									
									
										vendored
									
									
								
							@@ -110,8 +110,9 @@ const app = new Vue({
 | 
			
		||||
            })
 | 
			
		||||
            .then(response => {
 | 
			
		||||
                this.currency = response.data;
 | 
			
		||||
                this.form.currency_code = response.data.currency_code;
 | 
			
		||||
                this.form.currency_rate = response.data.currency_rate;
 | 
			
		||||
 | 
			
		||||
                this.form.currency_code = response.data.code;
 | 
			
		||||
                this.form.currency_rate = response.data.rate;
 | 
			
		||||
            })
 | 
			
		||||
            .catch(error => {
 | 
			
		||||
            });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user