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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-9 / +21 lines)
Lines 12-18 Link Here
12
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
13
    <style>
13
    <style>
14
        @media (min-width: 1200px) {
14
        @media (min-width: 1200px) {
15
            #receive-modal, #receive-modal .modal-content {
15
            #receive-modal, #receive-modal {
16
                width: 98%;
16
                width: 98%;
17
            }
17
            }
18
        }
18
        }
Lines 51-56 Link Here
51
        .modal-body textarea {
51
        .modal-body textarea {
52
            vertical-align: text-top;
52
            vertical-align: text-top;
53
        }
53
        }
54
55
        .modal-header {
56
            display: flex;
57
            justify-content: space-between;
58
        }
59
60
        .modal-header::before,
61
        .modal-header::after {
62
            content: none;
63
        }
64
54
    </style>
65
    </style>
55
</head>
66
</head>
56
67
Lines 112-120 Link Here
112
123
113
    <div class="modal fade" id="order_edit" tabindex="-1" role="dialog" aria-labelledby="Order edit">
124
    <div class="modal fade" id="order_edit" tabindex="-1" role="dialog" aria-labelledby="Order edit">
114
        <div id="receive-modal" class="modal-dialog modal-lg" role="document">
125
        <div id="receive-modal" class="modal-dialog modal-lg" role="document">
115
            <div class="modal-content modal-lg">
126
            <div class="modal-content">
116
                <div class="modal-header row">
127
                <div class="modal-header">
117
                    <h4 class="col-md-11 modal-title"></h4>
128
                    <h4 class="col-md-10 modal-title"></h4>
118
                    <button type="button" class="close col-md-1" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
129
                    <button type="button" class="close col-md-1" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
119
                </div>
130
                </div>
120
                <div class="modal-body">
131
                <div class="modal-body">
Lines 300-311 Link Here
300
                                        [% END %]
311
                                        [% END %]
301
                                        </select>
312
                                        </select>
302
                                        <span class="required">Required</span>
313
                                        <span class="required">Required</span>
303
                                        <label for="showallbudgets" style="float:none;">&nbsp;Show inactive:</label>
304
                                        <input type="checkbox" id="showallbudgets" />
305
                                    </li>
314
                                    </li>
306
                                    <li>
315
                                    <li>
307
                                        <label>&nbsp;</label>
316
                                        <label>&nbsp;</label>
308
                                        <span id="current-fund"></span>
317
                                        <span id="current-fund" class="hint"></span>
318
                                    </li>
319
                                    <li>
320
                                        <label for="showallbudgets">&nbsp;Show inactive:</label>
321
                                        <input type="checkbox" id="showallbudgets" />
309
                                    </li>
322
                                    </li>
310
                                    <li>
323
                                    <li>
311
                                        <label for="creator">Ordered by: </label>
324
                                        <label for="creator">Ordered by: </label>
Lines 1122-1128 Link Here
1122
                if (row.fund_id != row.fund.fund_id) {
1135
                if (row.fund_id != row.fund.fund_id) {
1123
                    $("#bookfund").val(row.fund_id);
1136
                    $("#bookfund").val(row.fund_id);
1124
                }
1137
                }
1125
                $("#bookfund").select2({ width: '100%' });
1138
                $("#bookfund").select2({ width: '50%' });
1126
                $("#current-fund").html(FUNC_CUR.format(row.fund.budget.budget_period_description, row.fund.name));
1139
                $("#current-fund").html(FUNC_CUR.format(row.fund.budget.budget_period_description, row.fund.name));
1127
                $("#creator").html([row.creator.surname, row.creator.firstname].filter(function(name){return name}).join(', ')+" ("+row.creator.patron_id+')')
1140
                $("#creator").html([row.creator.surname, row.creator.firstname].filter(function(name){return name}).join(', ')+" ("+row.creator.patron_id+')')
1128
                $("#quantity_to_receive").val(row.quantity).prop('readonly', !row.subscription_id);
1141
                $("#quantity_to_receive").val(row.quantity).prop('readonly', !row.subscription_id);
1129
- 

Return to bug 33785