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 551-557 Link Here
551
                                <div class="status">
551
                                <div class="status">
552
                                    <span class="label status">Status:</span>
552
                                    <span class="label status">Status:</span>
553
                                    [% IF request.statusalias %]
553
                                    [% IF request.statusalias %]
554
                                        [% request.statusalias.authorised_value | html %]
554
                                        [% request.statusalias.lib | html %]
555
                                    [% ELSE %]
555
                                    [% ELSE %]
556
                                        [% request.capabilities.$req_status.name | html%]
556
                                        [% request.capabilities.$req_status.name | html%]
557
                                    [% END %]
557
                                    [% END %]
558
- 

Return to bug 20581