X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Facqui%2Flateorders.tt;h=7711a33b45fb2b5698a23ef71d6b3ef008f0e15b;hb=7d7cd25f4c2f0077c18a1904cb77f1479bff8e2b;hp=38ea22ecbc995709e761847d5870ef8be4212dd6;hpb=b93e6df3a1b7051bc92220cf6bd829c2229bfa70;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt index 38ea22ecbc..7711a33b45 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -1,55 +1,33 @@ +[% USE Asset %] [% USE KohaDates %] +[% USE Branches %] +[% USE ColumnsSettings %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › Late orders - +[% Asset.css("css/datatables.css") %] [% INCLUDE 'doc-head-close.inc' %] - -[% INCLUDE 'datatables-strings.inc' %] - - -[% INCLUDE 'calendar.inc' %] - + [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %] -
- -
-
-
- +
+
+
+
+

[% IF ( Supplier ) %][% Supplier %] : [% END %]Late orders

[% IF error_claim %] [% IF ( error_claim == "no_email" ) %]
This vendor has no email
+ [% ELSIF ( error_claim == "no_order_selected" ) %] +
No order selected
[% ELSE %]
[% error_claim %]
[% END %] @@ -60,7 +38,7 @@ $(document).ready(function() { [% IF ( lateorders ) %]
- + [% IF ( letters ) %]

+ + + [% lateorder.orderdate | $KohaDates %] ([% lateorder.latesince %] days) [% IF ( lateorder.estimateddeliverydate ) %] - [% lateorder.estimateddeliverydate | $KohaDates %] + [% lateorder.estimateddeliverydate | $KohaDates %] + [% ELSE %] + [% END %] [% lateorder.supplier %] + ([% lateorder.supplierid %]) [% lateorder.title |html %] @@ -118,100 +102,158 @@ $(document).ready(function() { [% lateorder.unitpricesupplier %]x[% lateorder.quantity %] = [% lateorder.subtotal %] -

[% lateorder.budget %]

-

- [% lateorder.basketno %] - -

-

[% lateorder.branch %]

+ [% IF ( CAN_user_acquisition_order_manage ) %] + [% lateorder.basketname %] ([% lateorder.basketno %]) + [% ELSE %] + [% lateorder.basketname %] ([% lateorder.basketno %]) + [% END %] + + + [% IF ( lateorder.basketgroupid ) %] + [% IF ( CAN_user_acquisition_group_manage ) %] + [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %]) + [% ELSE %] + [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %]) + [% END %] + [% END %] + + [% Branches.GetName( lateorder.branch ) %] + + [% lateorder.budget %] [% lateorder.claims_count %] - [% lateorder.claimed_date %] - [% UNLESS lateorder.budget_lock %] - + [% IF ( lateorder.claimed_date ) %] + [% lateorder.claimed_date | $KohaDates %] + [% ELSE %] + [% END %] - - [% END %] - - - - Total -   -   -   + [% END %] + + + + Total [% total %] -   -   -   - - - +   - + +
+ +

+ + [% UNLESS lateorder.budget_lock %] + + [% END %] +

[% ELSE %]

There are no late orders.

[% END %] -
-
-
-
+
+ +
+ +
+ +
-
+ +[% MACRO jsinclude BLOCK %] + [% Asset.js("js/acquisitions-menu.js") %] + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'columns_settings.inc' %] + [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %] + [% INCLUDE 'calendar.inc' %] + +[% END %] + [% INCLUDE 'intranet-bottom.inc' %]