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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (-10 / +21 lines)
Lines 320-326 function submitForm(form) { Link Here
320
                                        <th>Billing place</th>
320
                                        <th>Billing place</th>
321
                                        <th>Delivery place</th>
321
                                        <th>Delivery place</th>
322
                                        <th>Number of baskets</th>
322
                                        <th>Number of baskets</th>
323
                                        <th>Action</th>
323
                                        <th>&nbsp;</th>
324
                                    </tr>
324
                                    </tr>
325
                                </thead>
325
                                </thead>
326
                                <tbody>
326
                                <tbody>
Lines 338-346 function submitForm(form) { Link Here
338
                                                <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% Branches.GetName( basketgroup.deliveryplace ) %][% END %]</td>
338
                                                <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% Branches.GetName( basketgroup.deliveryplace ) %][% END %]</td>
339
                                                <td>[% basketgroup.basketsqty %]</td>
339
                                                <td>[% basketgroup.basketsqty %]</td>
340
                                                <td>
340
                                                <td>
341
                                                    <input type="button" onclick="closeandprint('[% basketgroup.id %]');" value="Close and print" />
341
                                                  <div class="dropdown">
342
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="add" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Edit" /></form>
342
                                                    <a class="btn btn-mini dropdown-toggle" id="openbasketgroupactions[% basketgroup.id %]" role="button" data-toggle="dropdown" href="#">
343
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="delete" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Delete" /></form>
343
                                                      Actions <b class="caret"></b></a>
344
                                                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="openbasketgroupactions[% basketgroup.id %]">
345
                                                      <li><a onclick="closeandprint('[% basketgroup.id %]');"><i class="fa fa-print"></i> Close basket group and print</a></li>
346
                                                      <li><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% basketgroup.booksellerid %]&basketgroupid=[% basketgroup.id %]"><i class="fa fa-pencil"></i> Edit</a></li>
347
                                                      <li><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=delete&booksellerid=[% basketgroup.booksellerid %]&basketgroupid=[% basketgroup.id %]"><i class="fa fa-trash"></i> Delete</a></li>
348
                                                    </ul>
349
                                                  </div>
344
                                                </td>
350
                                                </td>
345
                                            </tr>
351
                                            </tr>
346
                                        [% END %]
352
                                        [% END %]
Lines 357-363 function submitForm(form) { Link Here
357
                                        <th>Billing place</th>
363
                                        <th>Billing place</th>
358
                                        <th>Delivery place</th>
364
                                        <th>Delivery place</th>
359
                                        <th>Number of baskets</th>
365
                                        <th>Number of baskets</th>
360
                                        <th>Action</th>
366
                                        <th>&nbsp;</th>
361
                                    </tr>
367
                                    </tr>
362
                                </thead>
368
                                </thead>
363
                                <tbody>
369
                                <tbody>
Lines 376-385 function submitForm(form) { Link Here
376
                                                <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% Branches.GetName( basketgroup.deliveryplace ) %][% END %]</td>
382
                                                <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% Branches.GetName( basketgroup.deliveryplace ) %][% END %]</td>
377
                                                <td>[% basketgroup.basketsqty %]</td>
383
                                                <td>[% basketgroup.basketsqty %]</td>
378
                                                <td>
384
                                                <td>
379
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="add" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="View" /></form>
385
                                                  <div class="dropdown">
380
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="reopen" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Reopen" /></form>
386
                                                    <a class="btn btn-mini dropdown-toggle" id="closedbasketgroupactions[% basketgroup.id %]" role="button" data-toggle="dropdown" href="#">
381
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="print" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Print" /></form>
387
                                                      Actions <b class="caret"></b></a>
382
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="export" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Export as CSV" /></form>
388
                                                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="closedbasketgroupactions[% basketgroup.id %]">
389
                                                      <li><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% basketgroup.booksellerid %]&basketgroupid=[% basketgroup.id %]"><i class="fa fa-eye"></i> View</a></li>
390
                                                      <li><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=reopen&booksellerid=[% basketgroup.booksellerid %]&basketgroupid=[% basketgroup.id %]"><i class="fa fa-repeat"></i> Reopen</a></li>
391
                                                      <li><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=print&basketgroupid=[% basketgroup.id %]"><i class="fa fa-print"></i> Print</a></li>
392
                                                      <li><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=export&basketgroupid=[% basketgroup.id %]"><i class="fa fa-upload"></i> Export as CSV</a></li>
393
                                                    </ul>
394
                                                  </div>
383
                                                </td>
395
                                                </td>
384
                                            </tr>
396
                                            </tr>
385
                                        [% END %]
397
                                        [% END %]
386
- 

Return to bug 16038