From 3cb207f4c929f8390c235e19fb6778f75ded6eb1 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 21 Oct 2022 17:00:55 +0100 Subject: [PATCH] Bug 31822: Add page-section to vendoer details page This patch contains whitespace changes which an be safely ignored. Signed-off-by: Katrin Fischer --- .../prog/en/modules/acqui/supplier.tt | 91 +++++++++---------- 1 file changed, 42 insertions(+), 49 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt index 40929da425..934b18be67 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -322,59 +322,53 @@ [% ELSE %]

[% name | html %]

-
-

Vendor details

-

Type: [% type | html %]

-

Company name: [% name | html %]

-

Postal address: [% postal | html %]

-

Physical address: [% address1 | html %][% address2 | html %][% address3 | html %][% address4 | html %]

-

Phone: [% phone | html %]

-

Fax: [% fax | html %]

- [% IF ( url ) %] -

Website: [% url | html %]

- [% END %] - [% IF ( accountnumber ) %] -

Account number: [% accountnumber | html %]

- [% END %] +
+
+

Vendor details

+

Type: [% type | html %]

+

Company name: [% name | html %]

+

Postal address: [% postal | html %]

+

Physical address: [% address1 | html %][% address2 | html %][% address3 | html %][% address4 | html %]

+

Phone: [% phone | html %]

+

Fax: [% fax | html %]

+ [% IF ( url ) %] +

Website: [% url | html %]

+ [% END %] + [% IF ( accountnumber ) %] +

Account number: [% accountnumber | html %]

+ [% END %] +
-
-

Ordering information

-

Vendor is: - [% IF ( active ) %] - Active - [% ELSE %] - Inactive - [% END %]

-

List prices are: [% listprice | html %]

-

Invoice prices are: [% invoiceprice | html %]

- [% IF ( tax_rate ) %]

Tax number registered: - [% IF ( gstreg ) %]Yes[% ELSE %]No[% END %]

-

List item price includes tax: - [% IF ( listincgst ) %]Yes[% ELSE %]No[% END %]

-

Invoice item price includes tax: - [% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %]

[% END %] -

Discount: - [% discount | format("%.1f") %] %

-

Tax rate: - [% ( tax_rate || 0 ) * 100 | html %] %

- [% IF deliverytime.defined %] -

Delivery time: - [% deliverytime | html %] days

- [% END %] - [% IF ( notes ) %]

Notes: - [% notes | html %]

[% END %] -
+
+

Ordering information

+

Vendor is: [% IF ( active ) %]Active[% ELSE %]Inactive[% END %]

+

List prices are: [% listprice | html %]

+

Invoice prices are: [% invoiceprice | html %]

+ [% IF ( tax_rate ) %] +

Tax number registered: [% IF ( gstreg ) %]Yes[% ELSE %]No[% END %]

+

List item price includes tax: [% IF ( listincgst ) %]Yes[% ELSE %]No[% END %]

+

Invoice item price includes tax: [% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %]

+ [% END %] +

Discount: [% discount | format("%.1f") %] %

+

Tax rate: [% ( tax_rate || 0 ) * 100 | html %] %

+ [% IF deliverytime.defined %] +

Delivery time: [% deliverytime | html %] days

+ [% END %] + [% IF ( notes ) %] +

Notes: [% notes | html %]

+ [% END %] +
-
+

Contact

[% FOREACH contact IN contacts %] [% INCLUDE show_contact %] [% END %] -
+
-
+

Subscription details

Number of subscriptions: [% IF ( CAN_user_serials ) %] @@ -383,14 +377,13 @@ [% subscriptioncount | html %] [% END %]

-
- -
+
+
[% IF ( contracts ) %] -
+

Contract(s)

@@ -423,7 +416,7 @@ [% END %]
-
+
[% END %] [% END %] -- 2.30.2