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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt (-14 / +13 lines)
Lines 135-147 Link Here
135
                            [% END # /IF CAN_user_acquisition_merge_invoices %]
135
                            [% END # /IF CAN_user_acquisition_merge_invoices %]
136
                        [% END # /BLOCK invoices_table %]
136
                        [% END # /BLOCK invoices_table %]
137
137
138
                        <div id="invoicestabs" class="toptabs">
138
                        [% WRAPPER tabs id= "invoicestabs" %]
139
                            <ul class="nav nav-tabs" role="tablist">
139
                            [% WRAPPER tabs_nav %]
140
                                <li role="presentation" class="active"><a href="#opened" aria-controls="opened" role="tab" data-toggle="tab">Open invoices ([% openedinvoices.size || 0 | html %])</a></li>
140
                                [% WRAPPER tab_item tabname= "opened" active= 1 %] Open invoices ([% openedinvoices.size || 0 | html %]) [% END %]
141
                                <li role="presentation"><a href="#closed" aria-controls="closed" role="tab" data-toggle="tab">Closed invoices ([% closedinvoices.size || 0 | html %]) </a></li>
141
                                [% WRAPPER tab_item tabname= "closed" %] Closed invoices ([% closedinvoices.size || 0 | html %]) [% END %]
142
                            </ul>
142
                            [% END %]
143
                            <div class="tab-content">
143
                            [% WRAPPER tab_panels %]
144
                                <div id="opened" role="tabpanel" class="tab-pane active">
144
                                [% WRAPPER tab_panel tabname="opened" active= 1 %]
145
                                    [% IF openedinvoices %]
145
                                    [% IF openedinvoices %]
146
                                        [% INCLUDE invoices_table invoices = openedinvoices %]
146
                                        [% INCLUDE invoices_table invoices = openedinvoices %]
147
                                    [% ELSE %]
147
                                    [% ELSE %]
Lines 149-156 Link Here
149
                                            <p>Your search returned no open invoices.</p>
149
                                            <p>Your search returned no open invoices.</p>
150
                                        </div>
150
                                        </div>
151
                                    [% END %]
151
                                    [% END %]
152
                                </div> <!-- /#opened -->
152
                                [% END # /#opened %]
153
                                <div id="closed" role="tabpanel" class="tab-pane">
153
154
                                [% WRAPPER tab_panel tabname="closed" %]
154
                                    [% IF closedinvoices %]
155
                                    [% IF closedinvoices %]
155
                                        [% INCLUDE invoices_table invoices = closedinvoices closed = 1 %]
156
                                        [% INCLUDE invoices_table invoices = closedinvoices closed = 1 %]
156
                                    [% ELSE %]
157
                                    [% ELSE %]
Lines 158-167 Link Here
158
                                            <p>Your search returned no closed invoices.</p>
159
                                            <p>Your search returned no closed invoices.</p>
159
                                        </div>
160
                                        </div>
160
                                    [% END %]
161
                                    [% END %]
161
                                </div> <!-- /#closed -->
162
                                [% END # /#closed %]
162
                            </div> <!-- /.tab-content -->
163
                            [% END # /tab_panels %]
163
                        </div> <!-- /#invoicestabs -->
164
                        [% END # /#invoicestabs %]
164
165
165
166
                        <div id="merge_invoices">
166
                        <div id="merge_invoices">
167
                            <form id="merge_invoice_form" action="/cgi-bin/koha/acqui/invoice.pl" method="post">
167
                            <form id="merge_invoice_form" action="/cgi-bin/koha/acqui/invoice.pl" method="post">
168
- 

Return to bug 32661