View | Details | Raw Unified | Return to bug 38010
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/vendors.tt (+1 lines)
Lines 30-35 Link Here
30
        [% INCLUDE 'columns_settings.inc' %]
30
        [% INCLUDE 'columns_settings.inc' %]
31
        [% INCLUDE 'js-patron-format.inc' %]
31
        [% INCLUDE 'js-patron-format.inc' %]
32
        [% INCLUDE 'js-date-format.inc' %]
32
        [% INCLUDE 'js-date-format.inc' %]
33
        [% INCLUDE 'format_price.inc' %]
33
        <script>
34
        <script>
34
            const userPermissions = [% To.json(user_permissions) | $raw %];
35
            const userPermissions = [% To.json(user_permissions) | $raw %];
35
            const currencies = [% To.json(currencies) | $raw %];
36
            const currencies = [% To.json(currencies) | $raw %];
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/Main.vue (-2 / +1 lines)
Lines 100-106 export default { Link Here
100
            this.vendorStore.currencies = currencies;
100
            this.vendorStore.currencies = currencies;
101
            this.vendorStore.gstValues = gstValues.map(gv => {
101
            this.vendorStore.gstValues = gstValues.map(gv => {
102
                return {
102
                return {
103
                    label: `${(gv.option * 100).toFixed(2)}%`,
103
                    label: `${Number(gv.option * 100).format_price()}%`,
104
                    value: gv.option,
104
                    value: gv.option,
105
                };
105
                };
106
            });
106
            });
107
- 

Return to bug 38010