<%@ Page Language="C#" MasterPageFile="~/Flight/MasterPages/MasterPageOutSide.master" AutoEventWireup="true"
    CodeFile="ticket_booking.aspx.cs" Inherits="Domestic_ticket_booking"  
    Culture="auto" meta:resourcekey="PageResource1" UICulture="auto" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <link href="../css/b2c_tep.css" rel="stylesheet" type="text/css" />
    <!--[if lt IE 8]> 
<link href="../css/b2c_tep_ie.css" rel="stylesheet" type="text/css" />
<![endif]-->

    <script type="text/javascript" language="javascript" src="../css/func.js"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="templatemo_content_wrapper">
         <div id="myaccount">
             
            <div id="clear">
            </div>
            <!--start of heading part-->
            <div style="overflow: hidden; width: 900px; height: auto; background: #deefff">
                <div style="float: left; width: 360px !important; overflow: hidden;">
                    <h1>
                        Your Travel Dashboard</h1>
                    <br />
                    <p>
                        <span style="margin: -5px 0 0 12px; padding: 0 0 5px 0; float: left; color: #777;
                            font-size: 12px; line-height: 14px;">Itinerary (Trip ID
                            <asp:Label runat="server" ID="lbl_tripid" meta:resourcekey="lbl_tripidResource1"></asp:Label>)</span>
                    </p>
                </div>
            </div>
            <!--end of heading part-->
            <div runat="server" id="tripslavi">
                <div class="head" runat="server" id="div_oneway">
                    <h3>
                        <asp:Label runat="server" ID="lbl_source_airportname" Text="From Airport"></asp:Label>
                        to
                        <asp:Label runat="server" ID="lbl_destination_airportname" Text="To Airport"></asp:Label>
                        — <span style="font-weight: normal">
                            <asp:Label runat="server" ID="lbl_date"></asp:Label></span></h3>
                    <a onclick="show_hideDiv('rules')">Fare Rules</a>
                    <div id="rules" style="margin: 0 0 4px 0; padding: 0; height: auto; line-height: 13px;
                        float: left; background: #ffffff; width: 860px; font-size: 11px; text-align: justify;
                        padding: 2px 5px; display: none">
                        <span>
                            <asp:Label runat="server" ID="lbl_farerule" Text="Fare Rule"></asp:Label>
                            <br />
                        </span>
                    </div>
                </div>
                <asp:Literal runat="server" ID="Literal_FlightInformation" meta:resourcekey="Literal_FlightInformationResource1"></asp:Literal>
                <div class="head" runat="server" id="div_round">
                    <h3>
                        <asp:Label runat="server" ID="lbl_source_airportname_forround" Text="From Airport"
                            meta:resourcekey="lbl_source_airportname_forroundResource1"></asp:Label>
                        to
                        <asp:Label runat="server" ID="lbl_destination_airportname_forround" Text="To Airport"
                            meta:resourcekey="lbl_destination_airportname_forroundResource1"></asp:Label>
                        — <span style="font-weight: normal">
                            <asp:Label runat="server" ID="lbl_date_round" Text="Day,Date Month Year" meta:resourcekey="lbl_date_roundResource1"></asp:Label>
                        </span>
                    </h3>
                    <a onclick="show_hideDiv('rules1')">Fare Rules</a>
                    <div id="rules1" style="margin: 0 0 4px 0; padding: 0; height: auto; line-height: 13px;
                        float: left; background: #ffffff; width: 860px; font-size: 11px; text-align: justify;
                        padding: 2px 5px; display: none">
                        <span>
                            <asp:Label runat="server" ID="lbl_farerule_round" Text="Fare Rule" meta:resourcekey="lbl_farerule_roundResource1"></asp:Label></span>
                    </div>
                    <br />
                    <asp:Literal ID="LiteralFlight_info_Return" runat="server" meta:resourcekey="LiteralFlight_info_ReturnResource1"></asp:Literal>
                </div>
                <h3>
                    Passenger details –
                    <asp:Label runat="server" ID="lbl_adults" Text="1" meta:resourcekey="lbl_adultsResource1"></asp:Label>
                    &nbsp;Adult ,<asp:Label runat="server" ID="lbl_child" Text="0" meta:resourcekey="lbl_childResource1"></asp:Label>&nbsp;Child,
                    <asp:Label runat="server" ID="lbl_infant" Text="0" meta:resourcekey="lbl_infantResource1"></asp:Label>&nbsp;Infant</h3>
              <%--  <asp:Literal runat="server" ID="literal_pass"></asp:Literal>--%>
                <table cellpadding="0" cellspacing="0" border="0" width="100%" class="transation">
                    <tr>
                        <th width="40%">
                            Sector
                        </th>
                        <th width="12%">
                            Status
                        </th>
                        <th width="12%">
                            PNR
                        </th>
                        <th width="12%">
                            Ticket #
                        </th>
                        <th width="12%">
                            Total price
                        </th>
                    </tr>
                    <tr valign="top">
                        <td>
                            <asp:Label runat="server" ID="lbl_source_airportname1" Text="From Airport" meta:resourcekey="lbl_source_airportname1Resource1"></asp:Label>
                            —
                            <asp:Label runat="server" ID="lbl_destination_airportname1" Text="To Airport" meta:resourcekey="lbl_destination_airportname1Resource1"></asp:Label>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lbl_booking_status" Text="Status" meta:resourcekey="lbl_booking_statusResource1"></asp:Label>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lbl_pnr" Text="PNR" meta:resourcekey="lbl_pnrResource1"></asp:Label>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lbl_ticket_no" Text="Ticket No" meta:resourcekey="lbl_ticket_noResource1"></asp:Label>
                        </td>
                        <td>
                           
                            <asp:Label runat="server" ID="lbl_price" Text="XXXX.XX" meta:resourcekey="lbl_priceResource1"></asp:Label>
                        </td>
                    </tr>
                    <tr valign="top" runat="server" id="ticketdetails_round">
                        <td>
                            <asp:Label runat="server" ID="lbl_source_airportname_forround1" Text="From Airport"
                                meta:resourcekey="lbl_source_airportname_forround1Resource1"></asp:Label>
                            —
                            <asp:Label runat="server" ID="lbl_destination_airportname_forround1" Text="To Airport"
                                meta:resourcekey="lbl_destination_airportname_forround1Resource1"></asp:Label>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lbl_booking_status_round" Text="Status" meta:resourcekey="lbl_booking_status_roundResource1"></asp:Label>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lbl_pnr_round" Text="PNR" meta:resourcekey="lbl_pnr_roundResource1"></asp:Label>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lbl_ticket_no_round" Text="Ticket No" meta:resourcekey="lbl_ticket_no_roundResource1"></asp:Label>
                        </td>
                        <td>
                             
                            <asp:Label runat="server" ID="lbl_price_round" Text="XXXX.XX" meta:resourcekey="lbl_price_roundResource1"></asp:Label>
                        </td>
                    </tr>
                </table>
                <h3 onclick="show_hideDiv('price_Detail')">
                    <a>Pricing & payment details</a></h3>
                <div id="price_Detail" style="width: 280px; display: none; margin-left: -20px">
                    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="abc">
                        <tr>
                            <td width="100" align="right">
                                Base fare
                            </td>
                            <td style="padding-left: 12px">
                                <asp:Label runat="server" ID="lbl_payment_basefare"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Airport Tax
                            </td>
                            <td style="padding-left: 12px">
                                <asp:Label runat="server" ID="lbl_payment_air"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Service Tax
                            </td>
                            <td style="padding-left: 12px">
                                <asp:Label runat="server" ID="lbl_payment_servicetax"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Txn. Charge
                            </td>
                            <td style="padding-left: 12px">
                                <asp:Label runat="server" ID="lbl_payment_txn_charge"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Booking Discount
                            </td>
                            <td style="padding-left: 12px">
                                -
                                <asp:Label runat="server" ID="lbl_payment_booking_discount"></asp:Label>
                            </td>
                        </tr>
                           <tr>
                            <td align="right">
                                Miscellaneous
                            </td>
                            <td style="padding-left: 12px">
                               
                                <asp:Label runat="server" ID="lbl_payment_booking_misc"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <strong>Total</strong>
                            </td>
                            <td style="padding-left: 12px">
                                <strong>
                                    <asp:Label runat="server" ID="lbl_payment_totalfare"></asp:Label></strong>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td style="padding-left: 12px">
                                Through
                                <asp:Label runat="server" ID="lbl_bankingmethod" meta:resourcekey="lbl_bankingmethodResource1"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="con_23">
                    <h3 onclick="show_hideDiv('contact_Detail')">
                        <a>Contact details</a></h3>
                </div>
                <h4 onclick="show_hideDiv('contact_Detail')">
                    <a></a>
                </h4>
                <div id="contact_Detail" style="width: 280px; display: none; margin-left: -20px">
                    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="abc">
                        <tr>
                            <td width="100" align="right">
                                Name
                            </td>
                            <td style="padding-left: 12px">
                                <asp:Label runat="server" ID="lbl_name" Text="Name"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Phone
                            </td>
                            <td style="padding-left: 12px">
                                <asp:Label runat="server" ID="lbl_phonerno" Text="1234567890"></asp:Label>
                                <span>Mobile</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Email
                            </td>
                            <td style="padding-left: 12px">
                                <asp:Label runat="server" ID="lbl_email" Text="Email Id"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Address
                            </td>
                            <td style="padding-left: 12px">
                                <asp:Label runat="server" ID="lbl_address" Text="Address"></asp:Label>,
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                            </td>
                            <td style="padding-left: 12px">
                                <asp:Label runat="server" ID="lbl_state" Text="State"></asp:Label>,
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                            </td>
                            <td style="padding-left: 12px">
                                <asp:Label runat="server" ID="lbl_country" Text="Country"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </div>
                <table width="915" border="0" align="left" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="24">
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td width="203">
                            <span style="padding: 10px 0px 10px 70px;">
                                <asp:Button runat="server" ID="btnprint" class="button active" Text="Print Ticket" meta:resourcekey="btnprintResource1"
                                    OnClick="btnprint_Click" />
                                <!-- Always show and on click redirect to cancel !-->
                            </span>
                        </td>
                        <td width="79">
                            <asp:Button runat="server" ID="btncancel" class="button active" Text="Cancel Ticket" meta:resourcekey="btncancelResource1"
                                OnClick="btncancel_Click" />
                                
                                <asp:Button runat="server" ID="btnretry" class="button active"  Visible="false"
                                Text="Check Booking Status" onclick="btnretry_Click" 
                                 />
                            <!-- Show only if flight is upcoming and then redirect to cancel.aspx !-->
                        </td>
                    </tr>
                    <tr>
                        <td height="10" colspan="4">
                        </td>
                    </tr>
                </table>
            </div>
            <div id="divBookingError" runat="server" style="display: none">
                <table cellspacing="0" cellpadding="0" width="100%" align="center" style="padding-top: 25px">
                    <tr>
                        <td height="80px" align="center" valign="middle">
                            <asp:Label ID="lblerror" runat="server" Text=""></asp:Label><br />
                            Booking Status :-
                            <asp:Label ID="LabelStatus" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                </table>
            </div>
            
        </div>
        
        
        
    </div>
    <div id="clear">
    </div>
    <div class="cleaner">
    </div>
    </div> 
       
    
    </div>
</asp:Content>
