title = "Edit Booking" url = "/booking/:id/edit/3" layout = "Dashboard" is_hidden = 0 [session] security = "user" allowedUserGroups[] = "admin" allowedUserGroups[] = "supplier" redirect = "dashboard/login" == vendor; $this['bookings'] = Bookings::where('id', $this->param('id'))->first(); $this['vendors'] = Vendor::where('id', $user->vendor)->first(); $this['tickets'] = Ticket::orderBy('created_at', 'desc')->where('vendor_id', $user->vendor)->where('id', Input::post('ticket'))->first(); } $this['ticket'] = Ticket::make(); $this['booking'] = Bookings::make(); } ?> ==
3 Summary Booking

{{ tickets.name }}

{{ arrival_date }}

Guest Information

{{ firstname }}

{{ email }}

{{ phone }}

{{ country }}

Pricing
Category
Price per Person
Subtotal
{% if total_adult_price != 0 %}
Adult x {{adult}}
IDR {{ booking.priceFormat(adult_price) }}
IDR {{ booking.priceFormat(total_adult_price) }}
{% endif %} {% if total_children_price != 0 %}
Children x {{children}}
IDR {{ booking.priceFormat(children_price) }}
IDR {{ booking.priceFormat(total_children_price) }}
{% endif %}
Total
IDR {{ booking.priceFormat(total_price) }}

{% put scripts %} {% endput %}