mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 05:31:10 -04:00 
			
		
		
		
	Merge branch 'master' of https://github.com/bytefury/crater
This commit is contained in:
		| @ -14,6 +14,7 @@ | ||||
|             <base-select | ||||
|               v-model="formData.currency" | ||||
|               :options="currencies" | ||||
|               :custom-label="currencyNameWithCode" | ||||
|               :class="{'error': $v.formData.currency.$error }" | ||||
|               :searchable="true" | ||||
|               :show-labels="false" | ||||
| @ -179,6 +180,9 @@ export default { | ||||
|     this.getDiscountSettings() | ||||
|   }, | ||||
|   methods: { | ||||
|     currencyNameWithCode ({name, code}) { | ||||
|       return `${code} - ${name}` | ||||
|     }, | ||||
|     ...mapActions('currency', [ | ||||
|       'setDefaultCurrency' | ||||
|     ]), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user