Bus Ticket Booking From Delhi To Dharamsala (Himachal Pradesh) Up To Rs 500 Cheaper (2023)

Login/login with OTP

X

").show(); $.ajax({ typ: "POST", adres URL: "https://www.abhibus.com/seatlayout", dane: "rid=" + id + "&sourceid=" + id2 + "&destination=" + id3 + "&jdate=" + jdate + "&concession=" + koncesja, uspjeh: funkcja(rezultat) { if ($(".seatSelect_" + id + "")) { $(".seatSelect_" + id + "").html(rezultat).show('wolno'); if (topPosition) { $(".seatSelect_" + id + "").attr("pozycja-danych", topPosition); } } } }); } selectOnwardService(id); return false; } function setSeatLayoutdet(position, fromid) { var frmName = "result_" + fromid; var api_key = $("#" + frmName + " #api").val( ); if ($("#" + frmName + " #pickup_id").val() == "") { $("#" + frmName + " #txtBrd").html('Molimo odaberite mjesto ukrcaja') .show(''); $('#' + frmName + ' #pickup_id').focus(); return false; } if ($("#" + frmName + " #drop_id").val() == "") { $("#" + frmName + " #txtDrp").html('Molimo odaberyt Temperatura kroplenia').show(''); $('#' + frmName + ' #drop_id').focus( ); return false; } if (api_key != 400 && api_key != 238 && api_key != 154) { if ($("#" + frmName + " #droppingpoint_id").val() == "") { $ ("#" + frmName + " #txtDropping").html('Temperatura kroplenia molimo odaberytu').show(''); $('#' + frmName + ' #identyfikator_punktu_upuszczania').focus(); vratiti lažno; } } var identyfikator_odbioru = $("#" + nazwa_frm + " #identyfikator_odbioru").val(); var drop_id = $("#" + frmName + " #drop_id").val(); var isChecked = $("#" + frmName + " #koncesja").prop('sprawdzone') ? točno netočno; if (isChecked == true) { var koncesja = 1; } else { var isChecked = $("#" + frmName + " #koncesja").val(); if (isChecked == apsrtc_catcard || isChecked == apsrtc_seniorcitizen) var concession = isChecked; else var koncesija = 0; } var arrpickup_id = $("#" + frmName + " #pickup_id").val().split('^'); var arrdrop_id = $("#" + frmName + " #drop_id").val().split('^'); showSeatLayout($("#" + frmName + " #services_Id").val(), arrpickup_id[2], arrdrop_id[2], $("#" + frmName + " #jdate").val(), koncesja) ; } var tempId = ''; var ładujelementy = 0; funkcja showBoardingPoints(id, id2, id3, jdate, api, arrboarding_info, arrdropping_info, bustype) { //if(api == "238"){ // api = 154; //} if (id != null) { $("#POPBoxFood").html(''); załadujelementy = 0; if ($(".topseatSelect_" + id + "")) { $(".topseatSelect_" + id + "").show('wolno'); } $.ajax({ typ: "POST", adres URL: "https://www.abhibus.com//seating/showboarding", dane: "rid=" + id + "&sourceid=" + id2 + "&destination= " + id3 + "&jdate=" + jdate + "&api=" + api + "&arrboarding_info=" + arrboarding_info + "&arrdropping_info=" + arrdropping_info + "&BUS_START_DATE=" + tip busa, uspjeh: funkcija(rezultat) {//upozorenje ( rezultat); if ($(".seatSelect_pickup_" + id)) { $(".seatSelect_pickup_" + id).html(result).show('wolno'); if ($("#seatSelect_" + id) ) { $("#seatSelect_" + id).slideToggle('medium'); } } } }); } zwróć fałsz; } funkcja closethisDiv(thisdiv) { $(thisdiv).closest('.seatdiv').hide(); vratiti lažno; } var gtot = 0; var popust Iznos = 0; var Reserved_for_male = lažno; funkcja seat_select(seatno, deck_type, classname, rowcolid, fare, ev, seattemplateid, frmame, seatservax, seatservcharge) { var frmName = "seatSelect_" + nazwa_ram; var cena_filtra = $('#' + frmName + ' #' + rowcolid).attr("cena-filtra-danych"); var wybrane miejsca = $("#" + nazwa_frm + " #wybrane_miejsca").val(); var ukryte siedzenia = $("#" + frmName + " #ukryte siedzenia").val(); var wybrany typ_miejsca = $("#" + nazwa_frm + " #wybrany_typ_miejsca").val(); var wybrana płeć = $("#" + frmNazwa + " #wybrana_płeć").val(); var selseatfare = $("#" + frmName + " #hdnSelSeatFares").val(); var selseattemplateid = $("#" + frmName + " #hdnSeatTemplateIdvalue").val(); var selev = $("#" + frmName + " #hdnvalue").val(); var Il.Miejsc = $("#" + Nazwa_frm + " #hidLiczba_Miejsc").val(); var IlośćKoi = $("#" + nazwa_frm + " #hidLiczba_Koi").val(); var NoOfDBSeats = $("#" + frmName + " #hidNo_ofDBSeats").val(); var selev = $("#" + frmName + " #hdnvalue").val(); var usługipodatkowe = $("#" + frmName + " #hidservicetaxfares").val(); var opłata za usługę = $("#" + frmName + " #hid opłata za usługę").val(); var seat_cnt = parseInt(LiczbaMiejsc) + parseInt(LiczbaMiejsc) + parseInt(LiczbaDBMiejsc); var maxLiczbaMiejsc = $("#" + frmName + " #maxLiczbaMiejsc").val(); zmienna api = 0; if ($("#" + frmNazwa + " #api")) { api = $("#" + frmNazwa + " #api").val(); } if (api == 154 || api == 557 || api == 698) { var koncesjaAmt = $("#" + frmNazwa + " #koncesja").val(); if (concessionAmt == apsrtc_seniorcitizen && seat_cnt >= 1) { alert("Molimo da odaberete najviše jedno państwo po rezervaciji za starije osobe"); povratak; } if (api == 154) { if ($("#" + frmName + " #concession").val() > 0) { var catcardno = $("#" + frmName + " #catcardno").val (); if (catcardno == "") { $('#' + frmName + ' #txtBrd').html('Molimo nie znajduje się na stronie broj kartice').show(''); $('#' + frmName + ' #catcardno').focus(); povratak; } else $('#' + frmName + ' #txtBrd').hide(); } } else { if ($("#" + frmName + " #bus_start_date").val() == "201" && $("#" + frmName + " #concession").val() > 0) { var catcardno = $("#" + frmNazwa + " #catcardno").val(); if (catcardno == "") { $('#' + frmName + ' #txtBrd').html('Molimo nie znajduje się na stronie broj kartice').show(''); $('#' + frmName + ' #catcardno').focus(); povratak; } else $('#' + frmName + ' #txtBrd').hide(); } } } if (seat_cnt >= maxNumberOfSeats) { alert("Największa liczba miejsc siedzących od " + maxNumberOfSeats + " moja kolej na kartę"); povratak; } var identyfikator szablonu siedzenia = escape (identyfikator szablonu siedzenia); var ev = ucieczka(ev); var TicketFare = $("#" + frmName + " #hdnTotFare").val(); var hdnDisTotFare = $("#" + frmName + " #hdnDisTotFare").val(); var calcservtax = $("#" + frmName + " #hidservicetaxamt").val(); var calcservcharge = $("#" + frmName + " #hidservicechargeamt").val(); var Reserved_for_male = lažno; if ($('#' + frmName + ' #' + rowcolid).hasClass(classname + ' available') || $('#' + frmName + ' #' + rowcolid).hasClass(classname + ' for-male ')) { if ($('#' + frmName + ' #' + rowcolid).hasClass(classname + ' for-male')) { Reserve_for_male = istina; } else { rezervirano_za_muškog = lažno; } $('#' + frmName + ' #' + rowcolid).removeClass(classname + 'dostupno'); if (wybrane miejsca == "") { splstr = numer miejsca.substr(1); odabrana sjedala = splstr; odabrani spol = "M"; selseatfare = vozarina; wyselek = wyd; selseattemplateid = šablon sjedala; opłaty za usługi = porez na sjedište; opłaty za usługi = naknada za sjedalo; seattypename = nazistowska klasa; if (rezervirano_za_muško) { ukryte siedzenia = splstr; } } else { splstr = numer_miejsca.substr(1) wybrane miejsca = wybrane miejsca + "," + splstr; odabrani spol = odabrani spol + ",M"; selseatfare = selseatfare + "," + cijena; wybierz = wybierz + "," + ew; selseattemplateid = selseattemplateid + "," + seattemplateid; opłata za usługę = opłata za usługę + "," + opłata za usługę za miejsce; opłaty za usługi = opłaty za usługi + "," + opłata za usługi za miejsce; seattypename = seattypename + "," + nazwa klasy; if (rezervirano_za_muško) { ukryte siedzenia = ukryte siedzenia + "," + splstr; } } Cijena karte = parseInt(Cijena karte) + parseInt(cijena); hdnDisTotFare = parseInt(hdnDisTotFare) + parseInt(filter_price); $('#' + nazwa_frm + ' #' + rowcolid).addClass(nazwa klasy + ' wybrano'); $('#' + frmName + ' #' + rowcolid + "ZZ").attr('href', "javascript:seat_deselect('" + numer_miejsca + "','" + typ_pokładu + "','" + nazwa klasy + "','M','" + rowcolid + "','" + taryfa + "','" + ev + "','" + identyfikator siedzenia + "','" + rama + "','" + seatservax + "','" + seatservcharge + "');"); } else if ($('#' + frmName + ' #' + rowcolid).hasClass(classname + 'dame')) { $('#' + frmName + ' #' + rowcolid).removeClass(classname + ' dame '); if (wybrane miejsca == "") { splstr = numer miejsca.substr(1); odabrana sjedala = splstr; odabrani spol = "Ž"; selseatfare = vozarina; wyselek = wyd; selseattemplateid = šablon sjedala; opłaty za usługi = porez na sjedište; opłaty za usługi = naknada za sjedalo; seattypename = nazistowska klasa; } else { splstr = numer_miejsca.substr(1) wybrane miejsca = wybrane miejsca + "," + splstr; odabrani spol = odabrani spol + ",F"; selseatfare = selseatfare + "," + cijena; wybierz = wybierz + "," + ew; selseattemplateid = selseattemplateid + "," + seattemplateid; opłata za usługę = opłata za usługę + "," + opłata za usługę za miejsce; opłaty za usługi = opłaty za usługi + "," + opłata za usługi za miejsce; seattypename = seattypename + "," + nazwa klasy; } Cijena karte = parseInt(Cijena karte) + parseInt(cijena); hdnDisTotFare = parseFloat(hdnDisTotFare) + parseFloat(filtr_cena); $('#' + nazwa_frm + ' #' + rowcolid).addClass(nazwa klasy + ' wybrano'); $('#' + frmName + ' #' + rowcolid + "ZZ").attr('href', "javascript:seat_deselect('" + numer_miejsca + "','" + typ_pokładu + "','" + nazwa klasy + "','F','" + rowcolid + "','" + taryfa + "','" + ev + "','" + identyfikator siedzenia + "','" + rama + "','" + seatservax + "','" + seatservcharge + "');"); } // odabir ovdje if (selectedseats != "") { var Amt = $("#" + frmName + " #Basefare").val(); var zastavica = 0; var Wartość opłaty za miejsce postojowe = $("#" + frmName + " #BerthBasefare").val(); var DBFareAmt = $("#" + frmName + " #DBBasefare").val(); var ExecSeatNos = $("#" + frmName + " #hidExecSeatNos").val().split(","); var DBSeatNos = $("#" + frmName + " #hidDBSeatNos").val().split(","); for (var s = 0; s <= ExecSeatNos.length; s++) { if (seatno.substr(1) == ExecSeatNos[s]) { zastavica = 1; pauza; } } for (var d = 0; d <= DBSeatNos.length; d++) { if (seatno.substr(1) == DBSeatNos[d]) { zastavica = 2; pauza; } } if (zastavica == 1) { NoOfBerths = parseInt(NoOfBerths) + 1; if (selectedseattype == "") { selectedseattype = "SB"; } else { wybrany typ siedzenia = wybrany typ siedzenia + ",SB"; } } else if (zastavica == 2) { NoOfDBSeats = parseInt(NoOfDBSeats) + 1; if (selectedseattype == "") { selectedseattype = "DB"; } else { wybrany typ siedzenia = wybrany typ siedzenia + ",DB"; } } else { NoOfSeats = parseInt(LiczbaMiejsc) + 1; if (selectedseattype == "") { selectedseattype = "S"; } else { wybrany typ siedzenia = wybrany typ siedzenia + ",S"; } } var totamtseat = parseFloat(TicketFare); var całkowity podatek od usługi = 0; var całkowita opłata za usługę = 0; var serv_tax_info = $("#" + frmName + " #hdnserv_tax_info").val().split("^"); var serv_tax = serv_tax_info[0]; if (serv_tax > 0 && api != 154 || api != 557 || api != 698) { if (seatservax > 0) { totservicetax = parseFloat(calcservtax) + parseFloat(seatservax); } else if (serv_tax_info[1] == "F") totservicetax = serv_tax * (seat_cnt + 1); inače totservicetax = (ukupno mjesto * serv_tax) / 100; //$("#"+frmNazwa+" #ticketfare").html(""+totamtseat.toFixed(2)); $("#" + frmName + " #servicetaxamt").html("" + totservicetax.toFixed(2)); } if (seatservcharge > 0) { totservicecharge = parseFloat(calcservcharge) + parseFloat(seatservcharge); $("#" + frmName + " #servicechargeamt").html("" + totservicecharge.toFixed(2)); } if ((serv_tax > 0 && api != 154 || api != 557 || api != 698 || api != 16) || seatservcharge > 0) $(" #" + frmNazwa + " #bilet").html("" + hdnDisTotFare.toFixed(2)); $("#" + frmName + " #hdnTotFare").val(totamseat); $("#" + frmName + " #hdnDisTotFare").val(hdnDisTotFare); $( "#" + frmName + " #hdnSelSeatFares").val(selseatfare); $("#" + frmName + " #hdnvalue").val(selev); $("#" + frmName + " #hdnSeatTemplateIdvalue"). val(selseattemplateid); $("#" + frmName + " #hidNo_ofSeats").val(LiczbaMiejsc); $("#" + frmName + " #hidNo_ofBerths").val(LiczbaMiejsc); $("#" + frmName + " #hidNo_ofDBSeats").val(LiczbaDBSeats); $("#" + frmName + " #hidservicetaxamt").val(totservicetax); $("#" + frmName + " #hidservicechargeamt").val(totservicecharge); $("#" + frmName + " #hidservicetaxfares").val(servicetaxfares); $("#" + frmName + " #hidservicechargefares").val(opłaty za usługi); //alert(document.getElementById(frmName) .hidLiczba_miejsc .value+" : "+document.getElementById(frmName).hidNo_ofDBSeats.value); var operatorDiscount = $("#" + frmName + " #operatorDiscount").val(); var totamt = ""; var totalfarenew = "" ; var totaldiscount = ""; var catcard_county = 0; ako (api == 154 || api == 238 || api == 557 || api == 588 || api == 698 || api == 16) { var faresinfo = $("#" + frmName + " #check_tentative").val().split("^"); var totSeats = parseInt(LiczbaMiejsc) + parseInt(LiczbaMiejsc) + parseInt(LiczbaDBMiejsc); // if ($("#" + frmNazwa + " #bus_start_date").val() == "201" && $("#" + frmNazwa + " #koncesja").val() > 0) { if ( $("#" + frmNazwa + " #koncesja").val() > 0) { var catcardno = $("#" + frmNazwa + " #catcardno").val(); var SelSeatFares = $("#" + frmName + " #hdnSelSeatFares").val().split(","); if (catcardno != "" && concessionAmt != "" && concessionAmt == apsrtc_seniorcitizen) catcard_amt = (parseInt(SelSeatFares[0]) * 25) / 100; w przeciwnym razie if (concessionAmt == apsrtc_catcard || concessionAmt == "1") catcard_amt = (parseInt(SelSeatFares[0]) * 10) / 100; //catcard_amt = (parseInt(informacje o taryfach[0])*10)/100; } //var TotBasicFare = totSeats*parseInt(informacje o cenie[0]); var TotBasicFare = čolje miejsce; var TotResLevyFee = totSeats * (parseInt(informacje o taryfach[1]) + parseInt(informacje o taryfach[3])); var TotTollFee = totSeats * parseInt(informacje o taryfach[2]); var TotServiceFee = totSeats * parseInt(informacje o taryfach[4]); totamseat = TotBasicFare + TotResLevyFee + TotTollFee + TotServiceFee; $("#" + frmNazwa + " #opłata podstawowa").html("" + TotBasicFare.toFixed(2)); $("#" + frmName + " #resfee").html("" + TotResLevyFee.toFixed(2)); $("#" + frmName + " #toll").html("" + TotTollFee.toFixed(2)); $("#" + frmName + "#service fee").html("" + TotServiceFee.toFixed(2)); $("#" + frmName + " #carddiscount").html("" + catcard_amt.toFixed(2)); } var netfare = parseFloat(totamseat) + parseFloat(totservicetax) + parseFloat(totservicecharge) - parseFloat(catcard_amt); if (operatorDiscount != "") { var arroperatorDiscount = operatorDiscount.split( "^"); if (arrroperatorDiscount[0] > 0) { if (arrroperatorDiscount[1] == "F") { DiscountIznos = arroperatorDiscount[0] * (seat_cnt + 1); } else if (arrroperatorDiscount[1] = = "P") { Iznos popusta = broj_formata (ukupno mejsto * (Popust arroperatora [0] / 100), 2); } total = "" + net fee. toFixed(2) + ""; new total price = "" + format_number((net tariff - discount amount), 2); totaldiscount = "(discount:" +Discount Amount + ")"; $("#" +frm_name + " #new_total_fee").html(new_total_fee), $("#" + Frm_name + " #total_discount").html (total_discount), var discounted_total_fare = parseFloat (hdnDisTotFare) + parseFloat(totservicetax) + parseFloat(totservicecharge) - parseFloat(catcard_amt); Discounted_tot_fare = Discounted_tot_fare.toFixed(2); Discounted_tot_fare = "" + diskontirana_ukupna_karta; if (api == 154 || api == 557 || api == 588 || api == 698 || api == 16) { $("#" + frmName + " #totalfare"). html(totamt); } else { $("#" + frmName + " #totalfare").html(discounted_tot_fare); } if (gtot > 0) { var totamtfd = parseFloat(netto) + parseFloat(gtot) - parseFloat( Iznos pušuta); $("#" + frmName + " #ToTmsg").html(totamtfd.toFixed(2)); } } else { totamt = "" + netfare.toFixed(2); $("#" + frmName + " #totalfare").html(totamt); if (gtot > 0) { var totamtfd = parseFloat(netto) + parseFloat(gtot) - parseFloat( Iznos pušuta); $("#" + frmName + " #ToTmsg").html(totamtfd.toFixed(2)); } } } else { totamt = "" + netfare.toFixed(2); var Discounted_tot_fare = parseFloat(hdnDisTotFare) + parseFloat(totservicetax) + parseFloat(totservicecharge) - parseFloat(catcard_amt);" + discount_ukupna_card; if (api == 154 || api == 557 || api == 588 || api == 698 || api == 16) { $("#" + frmName + " #totalfare"). html(tot_fare); } else { $("#" + frmName + " #totalfare").html(discounted_tot_fare); } // document.getElementById(frmName).totalfare.innerHTML = totalfare; if (gtot > 0) { var totamtfd = parseFloat(net) + parseFloat(gtot) - parseFloat(discount amount); $("#" + frmName + " #ToTmsg").html(totamtfd.toFixed(2)); // document.getElementById(frmName ) .ToTmsg.innerHTML = totamtfd.toFixed(2); } } //registered access code $("#" + frmName + " #btnDisable1").hide(); $("#" + frmName + " #btnEnable1" ) .show(); if ($("#" + frmName + " #btnDisablefood")) { $("#" + frmName + " #btnDisablefood").hide(); $("#" + frmName + " # btnEnablefood").show(); } } $("#" + frmName + " #selected_places").val(selected seats); $("#" + frmName + " #selected_place_type").val(selected_places); $("#" +frmname + "#selectedgender").val(selectededge); $("#" + frmName + " #hidmaleseats"). val(hidmuška sjedala); $("#" + frmName + " #hidselectedseats").val(seattypename); $("#" + frmName + " #hidoperatorid").val($("#result_" + frmame + " .TravelAgntNm").data("safetymapid")); $("#" + frmName + " #hidbustype").val($("#result_" + frmame + " .BsTyp").data("bustype")); } function seat_deselect(seat number, deck_type, class name, gender, rowcolid, fare, ev, seattemplateid, frmame, seatsservax, seatservcharge) { var frmName = "seatSelect_" + frmame; variable temperature = ""; var Amt = 0; var temp1 = ""; variable temp2 = ""; var temp3 = ""; var temp4 = ""; var temp5 = ""; var temp6 = ""; var temp7 = ""; var temp8 = ""; var Ticket fare = 0; var filter_price = $('#' + frmName + ' #' + rowcolid).attr("data-filter-price"); var arrseats = $("#" + frmName + " #odabrana_sjedala").val().split(","); var arrHidden seats = $("#" + frmName + " #hidden seats").val().split(","); var arrseattype = $("#" + frmName + " #selected_seat_type").val().split(","); var arrseatgender = $("#" + fmname + " #selected_gender").val().split(","); var arrseatfare = $("#" + frmName + " #hdnSelSeatFares").val().split(","); var arrhdnvalue = $("#" + frmName + " #hdnvalue").val().split(","); var arrhdnSeatTemplateIdvalue = $("#" + frmName + " #hdnSeatTemplateIdvalue").val().split(","); var arrservicetaxfares = $("#" + frmName + " #hidservicetaxfares").val().split(","); var arrservicechargefares = $("#" + frmName + " #hidservicechargefares").val().split(","); var arrseattypename = $("#" + frmName + " #hidselectedseats").val().split(","); var hdnDisTotFare = $("#" + frmName + " #hdnDisTotFare").val(); hdnDisTotFare = parseFloat(hdnDisTotFare) - parseFloat(price_filter); if (hdnDisTotFare < 0) { hdnDisTotFare = 0; } $("#" + frmName + " #hdnDisTotFare").val(hdnDisTotFare); api = 0; if ($("#" + frmName + " #api")) { api = $("#" + frmName + " #api").val(); } for (i = 0; i < arrseats.length; i++) { selsid = seatno.substr(1) if (arrseats[i] != selsid) { temp = temp + "," + arrseats[i]; temp1 = temp1 + "," + arrseattype[i]; temp2 = temp2 + "," + arrseatgender[i]; temp3 = temp3 + "," + storage fee [i]; temp4 = temp4 + "," + escape(arrhdnvalue[i]); temp5 = temp5 + "," + escape (arrhdnSeatTemplateIdvalue[i]); TicketFare = parseInt(TicketFare) + parseInt(arrseatfare[i]); temp6 = temp6 + "," + arrservicetaxfares[i]; temp7 = temp7 + "," + service charge arrival[i]; temp8 = temp8 + "," + arrseattypename[i]; } } var selected places = temp.substring(1); var selected seat type = temp1.substring(1); var chosen gender of the place = temp2.substring(1); var sel selseatfare = temp3.substring(1); var selev = temp4.substring(1); var seseattemplateid = temp5.substring(1); var tax services = temp6.substring(1); var service charges = temp7.substring(1); var seat type name = temp8.substring(1); $("#" + frmName + " #hdnTotFare").val(TicketFare); $("#" + frmName + " #hdnSelSeatFares").val(selected seat); $("#" + frmName + " #hdnvalue").val(selected); $("#" + frmName + " #hdnSeatTemplateIdvalue").val(selseattemplateid); $("#" + frmName + " #hidservicetaxfares").val(servicetaxfares); $("#" + frmName + " #hidservicechargefares").val(servicechargefares); $("#" + frmName + " #hidselectedseats").val(seattypename); $('#' + frmName + ' #' + rowcolid).removeClass(class name + 'selected'); if (gender == "F") { $('#' + frmName + ' #' + rowcolid).addClass(classname + 'ladies'); } else { $('#' + frmName + ' #' + rowcolid).addClass(classname + 'availability'); } $('#' + frmName + ' #' + rowcolid + "ZZ").attr('href', "javascript:seat_select('" + seatno + "','" + deck_type + "','" + class name + "','" + rowcolid + "','" + fare + "','" + ev + "','" + place template id + "','" + frmame + "','" + seatsservtax + "','" + seat service fee + "');"); if (selectedseats == "") { $('#' + frmName + '#btnDisable1').show(); $('#' + frmName + '#btnEnable1').hide(); if ($('#' + frmName + ' #btnDisablefood')) { $('#' + frmName + ' #btnDisablefood').show(); $('#' + frmName + '#btnEnablefood').hide(); } $('#' + frmName + '#txtBrd').hide(); } var sum = 0; var net fee = 0; var discount Iznos = 0; var total service tax = 0; var total service charge = 0; var serv_tax_info = $("#" + frmName + " #hdnserv_tax_info").val().split("^"); var serv_tax = serv_tax_info[0]; if (selectedseats!= "") { var Amt = $("#" + frmName + " #Basefare").val(); var zastavica = 0; var Valuation of the berth fee = $("#" + frmName + " #BerthBasefare").val(); var DBFareAmt = $("#" + frmName + " #DBBasefare").val(); var No.Places = $("#" + FrmName + " #hidNumber_Places").val(); var Number of berths = $("#" + fmname + " #hidNumber of berths").val(); var NoOfDBSeats = $("#" + frmName + " #hidNo_ofDBSeats").val(); var ExecSeatNos = $("#" + frmName + " #hidExecSeatNos").val().split(","); var DBSeatNos = $("#" + frmName + " #hidDBSeatNos").val().split(","); var calcservtax = $("#" + frmName + " #hidservicetaxamt").val(); var calcservcharge = $("#" + frmName + " #hidservicechargeamt").val(); var seat_cnt = parseInt(NumberSeats) + parseInt(NumberSeats) + parseInt(NumberDBSeats); for (var s = 0; s <= ExecSeatNos.length; s++) { if (seatno.substr(1) == ExecSeatNos[s]) { zastavica = 1; pause; } } for (var d = 0; d <= DBSeatNos.length; d++) { if (seatno.substr(1) == DBSeatNos[d]) { zastavica = 2; pause; } } if (zastavica == 1) { NoOfBerths = parseInt(NoOfBerths) - 1; } else if (zastavica == 2) { NoOfDBSeats = parseInt(NoOfDBSeats) - 1; } else { NoOfSeats = parseInt(NoOfSeats) - 1; } totamt = parseFloat(TicketFare); if (serv_tax > 0 && api != 154 || api != 557 || api != 698 || api != 16) { if (seatservax > 0) { totservicetax = parseFloat(calcservtax) - parseFloat(seatservax); } else if (serv_tax_info[1] == "F") totservicetax = serv_tax * (seat_cnt - 1); inače totservicetax = (tatamt * serv_tax) / 100; //$("#"+frmName+" #ticketfare").html(""+totamt.toFixed(2)); $("#" + frmName + " #servicetaxamt").html("" + totservicetax.toFixed(2)); } if (seatservcharge > 0) { totservicecharge = parseFloat(calcservcharge) - parseFloat(seatservcharge); $("#" + frmName + " #servicechargeamt").html("" + totservicecharge.toFixed(2)); } if ((serv_tax > 0 && api != 154 || api != 557 || api != 698 || api != 16) || seatservcharge > 0) $(" #" + frmNazwa + " #bilet").html("" + hdnDisTotFare.toFixed(2)); // kod var operatorDiscount = $("#" + frmName + " #operatorDiscount").val(); var totalfarenew = ""; var totaldiscount = ""; var catcard_amt = 0 ; ako (api == 154 || api == 238 || api == 557 || api == 588 || api == 698 || api == 16) { var catcardno = $("#" + frmName + " #catcardno").val(); var faresinfo = $("#" + frmName + " #check_tenentative").val().split("^"); var totSeats = parseInt(LiczbaMiejsc) + parseInt(LiczbaMiejsc ) + parseInt(NoOfDBSeats); //var TotBasicFare = totSeats*parseInt(faresinfo[0]); var TotBasicFare = TicketFare; var TotResLevyFee = totSeats * (parseInt(faresinfo[1]) + parseInt(faresinfo[3])); var TotTollFee = totSeats * parseInt(faresinfo[2]); var TotServiceFee = totSeats * parseInt(faresinfo[4]); if (TotBasicFare == 0 || catcardno == "") { $("#" + frmName + " # kartikapopust").html("" + catcard_amt.toFixed(2)); } else { if ($("#" + frmName + " #bus_start_date").val() == "201") { var catcardno = $("#" + frmName+ " #catcardno").val(); var SelfSeatFares = $("#" + frmName + " #hdnSelfSeatFares").val().split(","); if (catcardno != "") catcard_amt = (parseInt ( SelSeatFares[0]) * 10) / 100; //catcard_amount = (parseInt(fareinfo[0])*10)/100; } } ukupno = TotBasicFare + TotResLevyFee + TotTollFee + TotServiceFee - parseFloat(catcard_amount); $(" # " + frmName + " #podstawowa taryfa").html("" + TotBasicFare.toFixed(2)); $("#" + frmName + " #resfee").html("" + TotResLevyFee.toFixed(2)); $("#" + frmName + " #toll").html("" + TotTollFee.toFixed(2)); $("#" + frmName + "#service fee").html("" + TotServiceFee.toFixed(2)); } netfare = parseFloat(totamt) + parseFloat(totservicetax) + parseFloat(totservicecharge); if (operatorDiscount != "") { var arroperatorDiscount = operatorDiscount.split("^"); if (arrroperatorDiscount[0] > 0) { if (arrroperatorDiscount[1] == "F") { DiscountIznos = arroperatorDiscount[0] * (seat_cnt - 1); } else if (arrroperatorDiscount[1] == "P") { Iznos popust = broj_formata (ukupno * (arroperatorPopust[0] / 100), 2); } total1 = "" + net fee. toFixed(2) + ""; new total price = "" + format_number((net tariff - discount amount), 2); totaldiscount = "(discount:" + Iznos pušuta + ")"; $("#" + frmName + " #totalfarenew").html(totalfarenew); $("#" + frmName + " #totaldiscount").html(totaldiscount); $(" # " + frmName + " #totalfare").html(totamt1); if (gtot > 0) { var totamtfd = parseFloat(net) + parseFloat(gtot) - parseFloat(discountAmount); $("#" + frmName + " # ToTmsg").html(totamtfd.toFixed(2)); } } else { totamt1 = "" + netfare.toFixed(2); $("#" + frmName + " #totalfare").html(totamt1); if (gtot > 0) { var totamtfd = parseFloat(netfare) + parseFloat(gtot) - parseFloat( Iznos pušuta); $("#" + frmName + " #ToTmsg").html(totamtfd.toFixed(2)); } } } else { totamt1 = "" + netfare.toFixed(2); $("#" + frmName + " #totalfare").html(totamt1); if (gtot > 0) { var totamtfd = parseFloat(netfare) + parseFloat(gtot) - parseFloat( Iznos pušta); $("#" + frmName + " #ToTmsg").html(totamtfd.toFixed(2)); } } //zapisany kod za pušta $("#" + frmName + " #btnDisable1"). hide(); $("#" + frmName + " #btnEnable1").show(); if ($("#" + frmName + " #btnDisablefood")) { $("#" + frmName + " #btnDisablefood ").hide(); $("#" + frmName + " #btnEnablefood").show(); } } else { var totamt = 0; totamt = "" + netfare.toFixed(2); totalfarenew = ""; totaldiscount = ""; var number of seats = 0; var number of seats = 0; var number of DBSeats = 0; var totservicetax = 0; var totservicecharge = 0; $(" #" + frmName + " #totalfarenew").html(totalfarenew); $("#" + frmName + " #totaldiscount").html(totaldiscount); if (serv_tax > 0) { //$("#"+ frmName+" # price to enter").html("0,00"); $("#" + frmName + " #servicetaxamt").html("0,00"); } if (seatservgeamt > 0) $("#" + frmName + " #servicechargeamt").html("0,00"); if (serv_tax > 0 || seatservcharge > 0) $("#" + frmName + " #ticketfare").html("0.00"); $("#" + frmName + " #total fee").html(totamt); if (api == 154 || api == 557 || api == 588 || api == 698 | | api == 16) { $("#" + frmName + " #basic fee").html("0,00"); $("#" + frmName + " #resfee").html("0.00"); $("#" + frmName + " #fee").html("0.00"); $("#" + frmName + " #service fee").html("0.00"); $("#" + frmNazwa + " #card discount").html("0.00"); } if (gtot > 0) { var totamtfd = parseFloat(net) + parseFloat(gtot) - parseFloat(discount amount); $("#" + frmName + " #ToTmsg").html(totamtfd toFixed( 2)); } } $("#" + frmName + " #hiddennumber_of_slots").val(number of seats); $("#" + frmName + " #hiddennumber_of_seats").val(number of seats); $ ("# " + frmName + " #hidNo_ofDBSeats").val(NoOfDBSeats); $("#" + frmName + " #selected_places").val(selected seats); $("#" + frmName + " #selected_places_type" ).val(selected placetype); $("#" + frmName + " #selected_gender").val(selected genderplace); $("#" + frmName + " #number_of_places").html(selected seats); $( "#" + frmName + " #hidservicetaxamt ").val(totservicetax); $("#" + frmName + " #hidservicechargeamt").val(totservicecharge); } function orderNow(frameme) { var frm_name = "choose place_" + frame_name; var HidOrd = "" ; gtot = 0; for (var key in Restrnts) { for (var keddy in Restrnts [key]) { //alert("Restoran: quantity~Ited~Price=> "+key+ ": "+keddy+ ": "+ Restrnts[ ključ][keddy]+ ": "); var itemsdet = Restrnts[ključ][keddy].split("~"); var q = parseInt(itemsdet[0]); if (q > 0) { var itemtot = 0; var rowid = Math.floor((Math.random() * 1000) + 1) + q; itemtot = parseFloat(q) * parseFloat(itemsdet[2]); itemtot = parseFloat(itemtot).toFixed(2); HidOrd = HidOrd + itemdet[3] + "~" + itemsdet[1] + "~" + q + "~" + itemtot + "~" + itemsdet[4] + "~~#"; gtot = parseFloat(gtot) + parseFloat(itemtot); } } } gtot = gtot.toFixed(2); var ticktamt = parseFloat($('#' + frmName + '#hdnTotFare').val()); var Ticket FoodAmt = 0; TicketFoodAmt = parseFloat(gtot) + parseFloat(ticktamt); if (iznos popusta > 0) { Iznos card za hran = parseFloat (Iznos hran za kartu) - parseFloat (Iznos popusta); } //upozorenje(ticktamt + " : "+ TicketFoodAmt); TicketFoodAmt = TicketFoodAmt.toFixed(2); $("#" + frmName + " #hdnFdOrder").val(HidOrd + gtot); $("#" + frmName + " #hdnFoodamount").val(gtot); $("#" + frmName + " #ToTmsg").html(TicketFoodAmt); $("#" + frmName + " #Fooddiv1").slideDown("a lot"); $("#" + frmName + " #Fooddiv2").slideDown("a lot"); $("#" + frmName + " #Foodmsg").html(gtot); $("#skočni okvir").fadeOut(500); $("#backsheet").fadeOut(500); //calcPayments(); } function LoadFood(frame) { var frame_name = "seatSelect_" + frame_name; //if(!$('#'+frmName+' #BookFoodterms').is(':checked')) { //alert("Procitajte i click on povrdni okvir za odredbe i vjete"); //vrati false; //} $("#popupBox").fadeIn(); $("#backsheet").fadeIn(); url = "https://www.abhibus.com//search/foody/?fromvalu=" + frame_name; if (!loadFItems) { $('#POPBoxFood').load(url); loaditems = 1; } } function SeatValidation(frame) { var obj = error_messages; obj = JSON.stringify(object); obj = JSON.parse(object); var frmName = "seatSelect_" + frmname; var topPosition = $("#" + frmName + "").attr("data-position"); if (topPosition) { sessionStorage.setItem('Reco_selected', 'yes'); sessionStorage.setItem('Reco_selected_position', topPosition); } else { sessionStorage.removeItem('Reco_selected'); sessionStorage.removeItem('Reco_selected_position'); } var api = 0; if ($("#" + frmName + " #api")) { api = $("#" + frmName + " #api").val(); } if (api == 154 || api == 557 || api == 588 || api == 698 || api == 16) { if ($("#" + frmName + " #bus_start_date").val () == "201" && $("#" + frmName + " #license").val() > 0) { var catcardno = $("#" + frmName + " #catcardno").val(); if (catcardno == "") { $('#' + frmName + ' #txtBrd').html(obj.Err_seatlayout_enter_catcard).show(''); $('#' + frmName + '#catcardno').focus(); comeback; } else $('#' + frmName + ' #txtBrd').hide(); } } if ($('#' + frmName + ' #selected_seats').val() == "") { uppozorenje("Molimo odaberite sjedala iz Daljnjeg putovanja"); vratiti lažno; } if ($('#' + frmName + ' #boardingpoint_id').val() == "") { $('#' + frmName + ' #txtBrd').html(obj.ErrSelectBoarding).show(' '); $('#' + frmName + ' #entrypoint_id').focus(); vratiti lažno; } if (api != 238 && api != 154 && api != 557 && api != 588 && api != 400 && $('#' + frmName + ' #dropppingpoint_id').val() == "") { $('#' + frmName + ' #txtDropping').html('Odaberite Drop Point').show(''); $('#' + frmName + ' #drop_point_id').focus(); vratiti lažno; } if ($("#" + frmName + " #darshanCheck").length == 1) { if ($($("#" + frmName + " #darshanCheck").is(":checked")) = == istina) { uppozorenje("TSRC TTD rezervacije nije dopušteno otkazati"); } } selectOnwardSeat(frame); vratiti istinito; } function insertText(boarding info, trip_key, api, service key, rid) { $("#seatSelect_" + rid + " #txtBrd").hide(); if (boarding info) { if (api != '0') { var waypoint = boarding info.split("^"); if (orijentir[4] && orijentir[5]) $("#bpDesc1" + rid).html(orijentir[3] + "-" + orijentir[5] + "-" + orijentir[4]).show( ); else if (orijentir[4]) $("#bpDesc1" + rid).html(orijentir[3] + "-" + orijentir[4]).show(); else $("#bpDesc1" + rid).html(landmark[3]).show(); //vrati false; } else { $.ajax({ type: "POST", URL: "https://www.abhibus.com//search/landmark", data: "Boarding_Point_key=" + boarding_info + "&Traveler_Partner_Id=" + travel_key + " &servicekey=" + servicekey, uspjeh: function(result) { $("#bpDesc1" + rid.html(result).show().css(""); } }); } } else { $("# seatSelect_" + rid + " #txtBrd").show(); $("#bpDesc1" + get rid).html("").show(); vratiti lažno; }}

sort by

  • Cena
  • Seats
  • Departure time
  • Arrival time
  • Class

Search online for the most convenient timetables and best prices.
Delhi to Dharamsali (Himachal Pradesh) further

Bus Ticket Booking From Delhi To Dharamsala (Himachal Pradesh) Up To Rs 500 Cheaper (6)

×

{{operator name}} | {{operatorStartTime}}

Safe-T bus details cancellation policy

  • Bus Ticket Booking From Delhi To Dharamsala (Himachal Pradesh) Up To Rs 500 Cheaper (7)
  • Bus Ticket Booking From Delhi To Dharamsala (Himachal Pradesh) Up To Rs 500 Cheaper (8)
  • Safe-T bus details

    Security measures

    Fumigation
    Disinfection of the entire bus and all passenger touchpoints before the bus departs.

    Employee
    Staff training in compliance with safety rules.

    Hand sanitizers
    Availability of disinfectant inside the bus

    Checking passengers
    Temperature measurement of passengers before boarding the bus

    Cancellation time

    Refund Amount

    {{policy.con}}

    {{polityka.tl}}

    References

    Top Articles
    Latest Posts
    Article information

    Author: Prof. An Powlowski

    Last Updated: 13/07/2023

    Views: 6063

    Rating: 4.3 / 5 (64 voted)

    Reviews: 95% of readers found this page helpful

    Author information

    Name: Prof. An Powlowski

    Birthday: 1992-09-29

    Address: Apt. 994 8891 Orval Hill, Brittnyburgh, AZ 41023-0398

    Phone: +26417467956738

    Job: District Marketing Strategist

    Hobby: Embroidery, Bodybuilding, Motor sports, Amateur radio, Wood carving, Whittling, Air sports

    Introduction: My name is Prof. An Powlowski, I am a charming, helpful, attractive, good, graceful, thoughtful, vast person who loves writing and wants to share my knowledge and understanding with you.