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

(-)a/admin/columns_settings.yml (+21 lines)
Lines 254-259 modules: Link Here
254
              columnname: actions
254
              columnname: actions
255
              cannot_be_toggled: 1
255
              cannot_be_toggled: 1
256
              cannot_be_modified: 1
256
              cannot_be_modified: 1
257
258
    vendors:
259
      vendors:
260
        columns:
261
          -
262
            columnname: name
263
          -
264
            columnname: status
265
          -
266
            columnname: type
267
          -
268
            columnname: invoice_currency
269
          -
270
            columnname: baskets
271
          -
272
            columnname: subscriptions
273
          -
274
            columnname: actions
275
            cannot_be_toggled: 1
276
            cannot_be_modified: 1
277
257
  admin:
278
  admin:
258
    cities:
279
    cities:
259
      table_cities:
280
      table_cities:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/vendors.tt (-1 / +3 lines)
Lines 30-36 Link Here
30
        [% INCLUDE 'js-patron-format.inc' %]
30
        [% INCLUDE 'js-patron-format.inc' %]
31
        [% INCLUDE 'js-date-format.inc' %]
31
        [% INCLUDE 'js-date-format.inc' %]
32
        [% INCLUDE 'format_price.inc' %]
32
        [% INCLUDE 'format_price.inc' %]
33
33
        <script>
34
            const vendorTableSettings = [% TablesSettings.GetTableSettings( 'acqui', 'vendors', 'vendors', 'json' ) | $raw %];
35
        </script>
34
        [% Asset.js("js/vue/dist/acquisitions.js") | $raw %]
36
        [% Asset.js("js/vue/dist/acquisitions.js") | $raw %]
35
        [% INCLUDE 'select2.inc' %]
37
        [% INCLUDE 'select2.inc' %]
36
    [% END %]
38
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorList.vue (-2 / +3 lines)
Lines 56-61 export default { Link Here
56
            setMessage,
56
            setMessage,
57
            escape_str,
57
            escape_str,
58
            isUserPermitted,
58
            isUserPermitted,
59
            vendorTableSettings
59
        };
60
        };
60
    },
61
    },
61
    data() {
62
    data() {
Lines 70-75 export default { Link Here
70
                    embed: "aliases,baskets+count,subscriptions+count,invoices+count",
71
                    embed: "aliases,baskets+count,subscriptions+count,invoices+count",
71
                },
72
                },
72
                url: () => this.tableURL(),
73
                url: () => this.tableURL(),
74
                table_settings: this.vendorTableSettings,
73
                add_filters: true,
75
                add_filters: true,
74
                filters_options: {
76
                filters_options: {
75
                    1: [
77
                    1: [
Lines 227-233 export default { Link Here
227
                    },
229
                    },
228
                },
230
                },
229
                {
231
                {
230
                    title: __("Currency"),
232
                    title: __("Invoice currency"),
231
                    data: "invoice_currency",
233
                    data: "invoice_currency",
232
                    searchable: true,
234
                    searchable: true,
233
                    orderable: true,
235
                    orderable: true,
234
- 

Return to bug 38010