From: Paul Poulain Date: Tue, 16 Feb 2010 20:46:52 +0000 (+0100) Subject: MT 2348 : acqui-home minor improvements X-Git-Tag: v3.02.00-alpha2~353 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=c26b6957b59b0ef623c7cb5a0c62e7fd9a9a3e6c;p=koha.git MT 2348 : acqui-home minor improvements - moving some links to the left part of koha (currencies and suggestions) - removed currency table - changing supplier display Signed-off-by: Galen Charlton --- diff --git a/acqui/acqui-home.pl b/acqui/acqui-home.pl index 8ce7d001fe..f8cb78e79b 100755 --- a/acqui/acqui-home.pl +++ b/acqui/acqui-home.pl @@ -25,8 +25,6 @@ acqui-home.pl =head1 DESCRIPTION this script is the main page for acqui/ -It presents the budget's dashboard, another table about differents currency with -their rates and the pending suggestions. =head1 CGI PARAMETERS @@ -74,7 +72,6 @@ my @results = GetBudgets($homebranch); my $count = scalar @results; my $branchname = GetBranchName($homebranch); -#my $count = scalar @results; my $classlist = ''; my $total = 0; my $totspent = 0; @@ -86,8 +83,6 @@ my @loop_budget = (); # --------------------------------------------------- # currencies my $cur; -my @rates = GetCurrencies(); -$count = scalar @rates; my $active_currency = GetCurrency; my $num; @@ -110,15 +105,6 @@ if ( $cur_format eq 'FR' ) { ); } -my @loop_currency = (); -for ( my $i = 0 ; $i < $count ; $i++ ) { - my %line; - $line{currency} = $rates[$i]->{'currency'} ; - $line{currency_symbol} = $rates[$i]->{'symbol'}; - $line{rate} = sprintf ( '%.2f', $rates[$i]->{'rate'} ); - push @loop_currency, \%line; -} - # suggestions my $status = $query->param('status') || "ASKED"; my $suggestion = CountSuggestion($status); @@ -189,7 +175,6 @@ $template->param( classlist => $classlist, type => 'intranet', loop_budget => \@loop_budget, - loop_currency => \@loop_currency, active_symbol => $active_currency->{'symbol'}, branchname => $branchname, budget => $period->{budget_name}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc index 75fd20f114..f50eefb601 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc @@ -1,6 +1,10 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tmpl index 4760c9c8a0..932cefc5b1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tmpl @@ -43,16 +43,6 @@ -
-
- Pending suggestions - - suggestions waiting Manage suggestions - -

No suggestions waiting

- -
-
@@ -110,42 +100,6 @@
- -
- -

Exchange rates

-
- - - - - - - - - - - - - - - - - - - - -
CurrencySymbolRate 
- - " /> -
-
- - - Add Currency - - -
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tmpl index a5d5f56fb9..61fea49252 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tmpl @@ -146,37 +146,29 @@ if (f.company.value == "") {

-

Supplier details

-
-
    -
  1. Company Name:
  2. -
  3. Postal Address:
  4. -
  5. Physical Address:
  6. -
  7. Phone:
  8. -
  9. Fax:
  10. - -
  11. Web site: ">
  12. - -
-
+

Supplier details

+

Company Name:

+

Postal Address:

+

Physical Address:

+

Phone:

+

Fax:

+ +

Web site: ">

+
-

Contact details

-
-
    -
  1. Contact name:
  2. -
  3. Position:
  4. -
  5. Phone:
  6. -
  7. Alternative phone:
  8. -
  9. Fax:
  10. - -
  11. Email: ">
  12. - - -
  13. Notes:
  14. - -
-
+

Contact details

+

Contact name:

+

Position:

+

Phone:

+

Alternative phone:

+

Fax:

+ +

Email: ">

+ + +

Notes:

+
@@ -202,17 +194,17 @@ if (f.company.value == "") {

Notes:

- - -

Contract(s)

- - - - - - - - + +
+

Contract(s)

+
NameDescriptionStart dateEnd date 
+ + + + + + +
NameDescriptionStart dateEnd date 
@@ -226,7 +218,8 @@ if (f.company.value == "") {
- + +