Lines 194-199
my @gst_values = map {
Link Here
|
194 |
option => $_ + 0.0 |
194 |
option => $_ + 0.0 |
195 |
}, split( '\|', C4::Context->preference("gist") ); |
195 |
}, split( '\|', C4::Context->preference("gist") ); |
196 |
|
196 |
|
|
|
197 |
my $order_internalnote = $order->{order_internalnote}; |
198 |
my $order_vendornote = $order->{order_vendornote}; |
197 |
if ( $order->{subscriptionid} ) { |
199 |
if ( $order->{subscriptionid} ) { |
198 |
# Order from a subscription, we will display an history of what has been received |
200 |
# Order from a subscription, we will display an history of what has been received |
199 |
my $orders = Koha::Acquisition::Orders->search( |
201 |
my $orders = Koha::Acquisition::Orders->search( |
Lines 203-209
if ( $order->{subscriptionid} ) {
Link Here
|
203 |
ordernumber => { '!=' => $order->{ordernumber} } |
205 |
ordernumber => { '!=' => $order->{ordernumber} } |
204 |
} |
206 |
} |
205 |
); |
207 |
); |
206 |
$template->param( orders => $orders ); |
208 |
if ( $order->{parent_ordernumber} != $order->{ordernumber} ) { |
|
|
209 |
my $parent_order = Koha::Acquisition::Orders->find($order->{parent_ordernumber}); |
210 |
$order_internalnote = $parent_order->{order_internalnote}; |
211 |
$order_vendornote = $parent_order->{order_vendornote}; |
212 |
} |
213 |
$template->param( |
214 |
orders => $orders, |
215 |
); |
207 |
} |
216 |
} |
208 |
|
217 |
|
209 |
$template->param( |
218 |
$template->param( |
Lines 233-240
$template->param(
Link Here
|
233 |
invoiceid => $invoice->{invoiceid}, |
242 |
invoiceid => $invoice->{invoiceid}, |
234 |
invoice => $invoice->{invoicenumber}, |
243 |
invoice => $invoice->{invoicenumber}, |
235 |
datereceived => $datereceived, |
244 |
datereceived => $datereceived, |
236 |
order_internalnote => $order->{order_internalnote}, |
245 |
order_internalnote => $order_internalnote, |
237 |
order_vendornote => $order->{order_vendornote}, |
246 |
order_vendornote => $order_vendornote, |
238 |
suggestionid => $suggestion->{suggestionid}, |
247 |
suggestionid => $suggestion->{suggestionid}, |
239 |
surnamesuggestedby => $suggestion->{surnamesuggestedby}, |
248 |
surnamesuggestedby => $suggestion->{surnamesuggestedby}, |
240 |
firstnamesuggestedby => $suggestion->{firstnamesuggestedby}, |
249 |
firstnamesuggestedby => $suggestion->{firstnamesuggestedby}, |