mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	Add missing currency code to customer create form
This commit is contained in:
		| @ -61,6 +61,7 @@ | ||||
|                 <base-select | ||||
|                   v-model="currency" | ||||
|                   :options="currencies" | ||||
|                   :custom-label="currencyNameWithCode" | ||||
|                   :allow-empty="false" | ||||
|                   :searchable="true" | ||||
|                   :show-labels="false" | ||||
| @ -435,6 +436,9 @@ export default { | ||||
|     } | ||||
|   }, | ||||
|   methods: { | ||||
|     currencyNameWithCode ({name, code}) { | ||||
|       return `${code} - ${name}` | ||||
|     }, | ||||
|     ...mapActions('customer', [ | ||||
|       'addCustomer', | ||||
|       'fetchCustomer', | ||||
|  | ||||
		Reference in New Issue
	
	Block a user