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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-4 / +3 lines)
Lines 129-135 Link Here
129
        // Render function for request status
129
        // Render function for request status
130
        var createStatus = function(data, type, row, meta) {
130
        var createStatus = function(data, type, row, meta) {
131
            if (row.status_alias) {
131
            if (row.status_alias) {
132
                return row.status_alias.authorised_value;
132
                return row.status_alias.lib;
133
            } else {
133
            } else {
134
                var origData = meta.settings.oInit.originalData;
134
                var origData = meta.settings.oInit.originalData;
135
                if (origData.length > 0) {
135
                if (origData.length > 0) {
Lines 447-453 Link Here
447
                                            [% ELSE %]
447
                                            [% ELSE %]
448
                                            <option value="[% alias.id %]">
448
                                            <option value="[% alias.id %]">
449
                                            [% END %]
449
                                            [% END %]
450
                                                [% alias.authorised_value | html %]
450
                                                [% alias.lib | html %]
451
                                            </option>
451
                                            </option>
452
                                        [% END %]
452
                                        [% END %]
453
                                    </select>
453
                                    </select>
Lines 553-559 Link Here
553
                                <div class="status">
553
                                <div class="status">
554
                                    <span class="label status">Status:</span>
554
                                    <span class="label status">Status:</span>
555
                                    [% IF request.statusalias %]
555
                                    [% IF request.statusalias %]
556
                                        [% request.statusalias.authorised_value | html %]
556
                                        [% request.statusalias.lib | html %]
557
                                    [% ELSE %]
557
                                    [% ELSE %]
558
                                        [% capabilities.$req_status.name | html%]
558
                                        [% capabilities.$req_status.name | html%]
559
                                    [% END %]
559
                                    [% END %]
560
- 

Return to bug 20581