projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 10572: Add phone to message_transport_types table for new installs
[koha.git]
/
acqui
/
lateorders.pl
diff --git
a/acqui/lateorders.pl
b/acqui/lateorders.pl
index
7c2b3f3
..
0832974
100755
(executable)
--- a/
acqui/lateorders.pl
+++ b/
acqui/lateorders.pl
@@
-86,10
+86,10
@@
my $estimateddeliverydateto_dt = $estimateddeliverydateto
# Format the output of "date from" and "date to"
if ($estimateddeliverydatefrom_dt) {
# Format the output of "date from" and "date to"
if ($estimateddeliverydatefrom_dt) {
- $estimateddeliverydatefrom = output_pref(
$estimateddeliverydatefrom_dt, undef, undef, 1
);
+ $estimateddeliverydatefrom = output_pref(
{dt => $estimateddeliverydatefrom_dt, dateonly => 1}
);
}
if ($estimateddeliverydateto_dt) {
}
if ($estimateddeliverydateto_dt) {
- $estimateddeliverydateto = output_pref(
$estimateddeliverydateto_dt, undef, undef, 1
);
+ $estimateddeliverydateto = output_pref(
{dt => $estimateddeliverydateto_dt, dateonly => 1}
);
}
my $branch = $input->param('branch');
}
my $branch = $input->param('branch');
@@
-118,7
+118,7
@@
if ($op and $op eq "send_alert"){
}
}
}
}
-my @parameters = ( $delay
, $branch
);
+my @parameters = ( $delay );
push @parameters, $estimateddeliverydatefrom_dt
? $estimateddeliverydatefrom_dt->ymd()
: undef;
push @parameters, $estimateddeliverydatefrom_dt
? $estimateddeliverydatefrom_dt->ymd()
: undef;