mirror of
https://github.com/espocrm/espocrm.git
synced 2026-07-01 08:26:04 +00:00
currency rate ui improvement
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{{#each rateValues}}
|
||||
{{#each rateValues}}
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">{{@key}}</span>
|
||||
<input class="form-control" type="text" data-currency="{{@key}}" value="{{./this}}">
|
||||
<span class="input-group-addon">1 {{@key}} = </span>
|
||||
<input class="form-control" type="text" data-currency="{{@key}}" value="{{./this}}" style="text-align: right;">
|
||||
<span class="input-group-addon">{{../baseCurrency}}</span>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
@@ -51,7 +51,8 @@ Espo.define('views/settings/fields/currency-rates', 'views/fields/base', functio
|
||||
}, this);
|
||||
|
||||
return {
|
||||
rateValues: rateValues
|
||||
rateValues: rateValues,
|
||||
baseCurrency: baseCurrency
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user