Lines 198-203
sub NewBasket {
Link Here
|
198 |
. 'VALUES (now(),?,?)'; |
198 |
. 'VALUES (now(),?,?)'; |
199 |
$dbh->do( $query, {}, $booksellerid, $authorisedby ); |
199 |
$dbh->do( $query, {}, $booksellerid, $authorisedby ); |
200 |
|
200 |
|
|
|
201 |
# Log the basket creation |
202 |
if (C4::Context->preference("AcqLog")) { |
203 |
logaction('ACQUISITIONS', 'ADD_BASKET', $basket); |
204 |
} |
205 |
|
201 |
my $basket = $dbh->{mysql_insertid}; |
206 |
my $basket = $dbh->{mysql_insertid}; |
202 |
$basketname ||= q{}; # default to empty strings |
207 |
$basketname ||= q{}; # default to empty strings |
203 |
$basketnote ||= q{}; |
208 |
$basketnote ||= q{}; |
Lines 205-215
sub NewBasket {
Link Here
|
205 |
ModBasketHeader( $basket, $basketname, $basketnote, $basketbooksellernote, |
210 |
ModBasketHeader( $basket, $basketname, $basketnote, $basketbooksellernote, |
206 |
$basketcontractnumber, $booksellerid, $deliveryplace, $billingplace, $is_standing, $create_items ); |
211 |
$basketcontractnumber, $booksellerid, $deliveryplace, $billingplace, $is_standing, $create_items ); |
207 |
|
212 |
|
208 |
# Log the basket creation |
|
|
209 |
if (C4::Context->preference("AcqLog")) { |
210 |
logaction('ACQUISITIONS', 'ADD_BASKET', $basket); |
211 |
} |
212 |
|
213 |
return $basket; |
213 |
return $basket; |
214 |
} |
214 |
} |
215 |
|
215 |
|
216 |
- |
|
|