Vaidator Booking E-Mail and traveler Date
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3373 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
751a904629
commit
fd9509420d
5 changed files with 26 additions and 4 deletions
|
|
@ -28,14 +28,14 @@ class BookingSternToursCrmExporter extends SternToursCrmExporter
|
|||
$lead = $this->createLead($bookingRequest, $travelDate);
|
||||
if ($lead === null)
|
||||
{
|
||||
$this->warn('Failed creating lead in CRM', $bookingRequest, $travelDate, Logger::ERROR);
|
||||
$this->warn('Failed creating lead in CRM Lead', $bookingRequest, $travelDate, Logger::ERROR);
|
||||
return false;
|
||||
}
|
||||
$bookingUrl = $this->createBooking($bookingRequest, $travelDate, $bookingPriceInfo, $lead['customer_id'],
|
||||
$lead['id']);
|
||||
if ($bookingUrl === false)
|
||||
{
|
||||
$this->warn('Failed creating booking in CRM', $bookingRequest, $travelDate, Logger::ERROR);
|
||||
$this->warn('Failed creating booking in CRM Booking', $bookingRequest, $travelDate, Logger::ERROR);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue