From ad581ccb934aea21fea6df50ba5c41cfca0cf4e6 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Mon, 4 Apr 2011 12:32:25 +0000 Subject: [PATCH] Align to new design. --- root/tt/billing.tt | 87 +++++++++++++---------------- root/tt/bilprof_edit.tt | 118 ++++++++++++++++++++++------------------ 2 files changed, 104 insertions(+), 101 deletions(-) diff --git a/root/tt/billing.tt b/root/tt/billing.tt index 914732b..bf17766 100644 --- a/root/tt/billing.tt +++ b/root/tt/billing.tt @@ -5,46 +5,41 @@ Add [% END %] -
[% IF messages.prodmsg %]
[% messages.prodmsg %]
[% END %] - [% IF products %] - - - - + - - - + +
-
- + + [% id = id + 1 %] [% END %] + [% ELSE %] - +
No products found in the database.
[% END %] -
on salename - -
- - [% product.data.name %] +
  • +
    +
    [% product.data.name %]
    +
    [% UNLESS Catalyst.session.admin.read_only %] Edit + [% ELSE %]  [% END %] -
  • [% UNLESS Catalyst.session.admin.read_only %] [% END %] -
    No products found in the database.
    -
    - [% END %]

    Billing Profiles

    @@ -52,49 +47,45 @@ [% UNLESS Catalyst.session.admin.read_only %] Add [% END %] +
    -
    - [% IF messages.profmsg %]
    [% messages.profmsg %]
    [% END %] + [% IF messages.profmsg %]
    [% messages.profmsg %]
    [% END %] - [% IF bilprofs %] - - - + - - + - + - - - + + [% id = id + 1 %] [% END %] + [% ELSE %] - +
    No billing profiles found in the database.
    [% END %] -
    name - - - -
    [% bilprof.data.name %] +
  • +
    [% bilprof.data.name %]
    +
    [% UNLESS Catalyst.session.admin.read_only %] Edit + [% ELSE %]  [% END %] -
  • +
    [% UNLESS Catalyst.session.admin.read_only %] + [% ELSE %]  [% END %] -
    + + +
    No billing profiles found in the database.
    - -
    diff --git a/root/tt/bilprof_edit.tt b/root/tt/bilprof_edit.tt index ed9ec30..dce65b7 100644 --- a/root/tt/bilprof_edit.tt +++ b/root/tt/bilprof_edit.tt @@ -5,87 +5,99 @@ [% END %] Cancel +
    -
    - - - +
      +
    • +
      Handle:
      +
      [% IF handle %] -
    + [% bilprof.handle %]
     
    [% ELSE %] - +
    unique identifier string
    [% END %] - - [% IF messages.handle %][% END %] - - - - - [% IF messages.name %][% END %] - - - - - [% IF messages.charge %][% END %] - - - - - [% IF messages.free_time %][% END %] - - - - - [% IF messages.free_cash %][% END %] - - - - - [% IF messages.currency %][% END %] - - - - - [% IF messages.vat_rate %][% END %] - - - - -
    handle:[% bilprof.handle %] - unique identifier string -
    [% messages.handle %]
    name: + + [% IF messages.handle %]
    [% messages.handle %]
    [% END %] +
  • +
    Name:
    +
    +
    +
    human readable profile name -
  • [% messages.name %]
    interval charge: + + + [% IF messages.name %]
    [% messages.name %]
    [% END %] +
  • +
    Interval Charge:
    +
    +
    +
    base fee charged per billing interval -
  • [% messages.charge %]
    interval free time: + + + [% IF messages.charge %]
    [% messages.charge %]
    [% END %] +
  • +
    Interval Free Time:
    +
    +
    +
    included time per billing interval -
  • [% messages.free_time %]
    interval free cash: + + + [% IF messages.free_time %]
    [% messages.free_time %]
    [% END %] +
  • +
    Interval Free Cash:
    +
    +
    +
    included money per billing interval -
  • [% messages.free_cash %]
    currency: + + + [% IF messages.free_cash %]
    [% messages.free_cash %]
    [% END %] +
  • +
    Currency:
    +
    +
    +
    currency symbol or ISO code -
  • [% messages.currency %]
    VAT rate: + + + [% IF messages.currency %]
    [% messages.currency %]
    [% END %] +
  • +
    VAT Rate:
    +
    +
    +
    % -
  • [% messages.vat_rate %]
    VAT included: + + + [% IF messages.vat_rate %]
    [% messages.vat_rate %]
    [% END %] +
  • +
    VAT Included:
    +
    -
  • +
    +
     
    + + +
    -