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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorContracts.vue (-3 / +6 lines)
Lines 65-71 export default { Link Here
65
                        data: "contractstartdate",
65
                        data: "contractstartdate",
66
                        type: "date",
66
                        type: "date",
67
                        render: function (data, type, row, meta) {
67
                        render: function (data, type, row, meta) {
68
                            return format_date(row.contractstartdate);
68
                            return type == "sort"
69
                                ? row.contractstartdate
70
                                : format_date(row.contractstartdate);
69
                        },
71
                        },
70
                    },
72
                    },
71
                    {
73
                    {
Lines 73-79 export default { Link Here
73
                        data: "contractenddate",
75
                        data: "contractenddate",
74
                        type: "date",
76
                        type: "date",
75
                        render: function (data, type, row, meta) {
77
                        render: function (data, type, row, meta) {
76
                            return format_date(row.contractenddate);
78
                            return type == "sort"
79
                                ? row.contractenddate
80
                                : format_date(row.contractenddate);
77
                        },
81
                        },
78
                    },
82
                    },
79
                    ...(isUserPermitted("CAN_user_acquisition_contracts_manage")
83
                    ...(isUserPermitted("CAN_user_acquisition_contracts_manage")
80
- 

Return to bug 38010