\Stock\Entity\Stock $stock, $previousState, array $routingData = array()
)
{
+ \Utility\Debug::errorLog('initNewItemFromStock' , $stock);
#-> Establish initial increment value.
$increments = $this->em
->getRepository('\Auction\Entity\Increment')
}
#-> Create auction entry.
if (isset($routingData['profileId']))
- {
+ {\Utility\Debug::errorLog('reroute1' , "true");
$profile = $this->em->find('User\\Entity\\Profile', $routingData['profileId']);
$email = $profile->email;
$firstName = $profile->firstName;
$profile = $profile->id;
}
else
- {
+ {\Utility\Debug::errorLog('reroute1' , "false");
$authData = \Utility\Registry::getAuthData();
$email = $authData['email'];
$firstName = $authData['firstName'];
$stock->highestBid = 0.00;
$stock->timesListed = $stats['numAuctions'];
$this->em->flush($stock);
-
+ \Utility\Debug::errorLog('created stock' , "true");
#-> Send loaded notification.
#-> Attachments.
$pdf = new \Auction\Pdf\Complete();
$oNotify->sendFromTemplate(
$item->company->id, $item->createdBy->id,
$item->currentBid->company->id, $item->currentBid->profile->id,
- 'info@bid4cars.co.za', null,
+ 'info@bid4cars.com.na', null,
'Auction Successful - ' . $item->id,
'auction-sale-buyer',
array(
$oNotify->sendFromTemplate(
$item->company->id, $item->createdBy->id,
$item->company->id, $item->createdBy->id,
- 'info@bid4cars.co.za', null,
+ 'info@bid4cars.com.na', null,
'No winner on Bid4Cars Auction - ' . $item->id,
'auction-no-sale',
array(
$oNotify->sendFromTemplate(
$item->company->id, $item->createdBy->id,
$item->currentBid->company->id, $item->currentBid->profile->id,
- 'info@bid4cars.co.za', null,
+ 'info@bid4cars.com.na', null,
'Auction Successful - ' . $item->id,
'auction-sale-buyer',
array(
$oNotify->sendFromTemplate(
$item->company->id, $item->createdBy->id,
$item->company->id, $item->createdBy->id,
- 'info@bid4cars.co.za', null,
+ 'info@bid4cars.com.na', null,
'No winner on Bid4Cars Auction - ' . $item->id,
'auction-no-sale',
array(
$oNotify->sendFromTemplate(
$item->company->id, $item->createdBy->id,
$item->currentBid->company->id, $item->currentBid->profile->id,
- 'info@bid4cars.co.za', null,
+ 'info@bid4cars.com.na', null,
'Auction Successful - ' . $item->id,
'auction-sale-buyer',
array(
$oNotify->sendFromTemplate(
$item->company->id, $item->createdBy->id,
$item->company->id, $item->createdBy->id,
- 'info@bid4cars.co.za', null,
+ 'info@bid4cars.com.na', null,
'No winner on Bid4Cars Auction - ' . $item->id,
'auction-no-sale',
array(