change request show
This commit is contained in:
parent
06fc3ba919
commit
f1a1baa913
32 changed files with 34 additions and 13948 deletions
|
|
@ -70,7 +70,10 @@ class BookingController extends Controller
|
|||
$lead = Lead::create($data);
|
||||
$lead->updateNextDueDate();
|
||||
|
||||
|
||||
$comfort = false;
|
||||
if(isset($travel_booking->drafts['comfort']) && $travel_booking->drafts['comfort']){
|
||||
$comfort = true;
|
||||
}
|
||||
$data = [
|
||||
'booking_date' => $travel_booking->created->format('Y-m-d'),
|
||||
'customer_id' => $customer->id,
|
||||
|
|
@ -82,6 +85,7 @@ class BookingController extends Controller
|
|||
'travel_category_id' => isset($travel_booking->selected_travel['travel_category_id']) ? $travel_booking->selected_travel['travel_category_id'] : null,
|
||||
'pax' => $travel_booking->selected_adults,
|
||||
'title' => isset($travel_booking->selected_travel['travel_title']) ? $travel_booking->selected_travel['travel_title'] : "",
|
||||
'comfort' => $comfort,
|
||||
'start_date' => $travel_booking->selected_start_date->format('Y-m-d'),
|
||||
'end_date' => $travel_booking->selected_end_date->format('Y-m-d'),
|
||||
'website_id' => 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue