Administrators ProAvia Posted January 25, 2017 Administrators Report Share Posted January 25, 2017 Are you adding the charters using the 'Create a New Charter' button in Charter Center, or are you adding them to the database another way? Is the main airline name the same for the Charter Center? In other words, is the 'code' the same? Go to the Admin Panel, under 'Airline Operations', 'Flight Schedules & Routes', find one of your added charter flights and click the EDIT button. Look under 'Fight Type' - does it say Passenger Flight, Cargo Flight or Charter Flight? It should say Charter Flight - as this placed the letter 'H' in the 'flighttype' field of the database. Quote Link to comment Share on other sites More sharing options...
OmerAslan Posted January 25, 2017 Report Share Posted January 25, 2017 31 minutes ago, ProAvia said: Are you adding the charters using the 'Create a New Charter' button in Charter Center, or are you adding them to the database another way? Is the main airline name the same for the Charter Center? In other words, is the 'code' the same? Go to the Admin Panel, under 'Airline Operations', 'Flight Schedules & Routes', find one of your added charter flights and click the EDIT button. Look under 'Fight Type' - does it say Passenger Flight, Cargo Flight or Charter Flight? It should say Charter Flight - as this placed the letter 'H' in the 'flighttype' field of the database. 1. I am adding charter using 'Create a New Charter' button. 2. I didn't understand this but what i did, i create airlines name charter code is CHT. And in the module i changed CH code to CHT seems works normal. 3. Shows Passenger Flight. Please explain little more open how to do this... Thanks... Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 26, 2017 Administrators Report Share Posted January 26, 2017 I think (not absolutely sure) for #3 it needs to be Charter Flight for it to show in the Charter Center. My basic understanding is the module looks for the 'H' so it knows to list it in the Charter Center. Hope someone with more knowledge comes along with an answer for that. Quote Link to comment Share on other sites More sharing options...
OmerAslan Posted January 26, 2017 Report Share Posted January 26, 2017 17 hours ago, ProAvia said: I think (not absolutely sure) for #3 it needs to be Charter Flight for it to show in the Charter Center. My basic understanding is the module looks for the 'H' so it knows to list it in the Charter Center. Hope someone with more knowledge comes along with an answer for that. Thanks my friend. Helppppp Please Quote Link to comment Share on other sites More sharing options...
Aaryan Posted January 28, 2017 Report Share Posted January 28, 2017 (edited) Hello Developer! Awesome Module! Just wanted to know that, on my core_success and core_error page I only want the message to be shown. I dont want to show active flights which comes below the message Help will be really appreciated Aaryan Kapoor Managing Director | IndiGo Virtual Edited January 28, 2017 by Aaryan Quote Link to comment Share on other sites More sharing options...
MarceloAntonioLavorGatinho Posted February 24, 2017 Report Share Posted February 24, 2017 man, look in ops_schedules.tpl really?? O.o you repeat " You have xx charter flight in your list and you have xx charter flights to add!" 30 times?? terrible for who need translate it. Delete the lines between 310 to 1176 and in line 310 put this below: if($count < 30) { ?> <table border="0" width="100%" dir="rtl"> <tr> <td align="right"> <div align="center"> <table border="0" width="85%" dir="ltr"> <tr> <td> <font style="font-size: 9pt;" face="Tahoma" color="#FFFF00"> <b> <img src="<?php echo SITE_URL?>/lib/images/charter/count.png" border="0" height="24" width="29"></b></font></td> <td><b><font face="Tahoma" size="2" color="#FFFF00">You have <?php echo $count; ?> charter flight in your list and you have <?php echo 30 - $count; ?> charter flights to add!</font></b></td> </tr> </table> </div> </td> <td align="left" width="20%"> <p align="center"> <a href="<?php echo SITE_URL?>/index.php/charter/addschedule"> <img src="<?php echo SITE_URL?>/lib/images/charter/add_charter.png" border="0"></a></td> </tr> </table> <font color="#FFFF00"> <?php } else { ?> You're welcome and very very thx for this nice job!!!!! Quote Link to comment Share on other sites More sharing options...
in2tech Posted October 10, 2017 Report Share Posted October 10, 2017 So I originally messed up and names the airline the wrong name. I want to delete this via phpMyAdmin even if it deletes the few schedules. Is this possible? Also, it is hiding the CH - Charter Flight on the Schedules page on my test site, but not in the registration form. What have I missed? Also, because these files are custom in my skins they seems to be causing a problem. Any suggestions appreciated, and thanks! Quote Link to comment Share on other sites More sharing options...
polirom Posted May 24, 2018 Report Share Posted May 24, 2018 (edited) Hello Excellent work. I was looking for something like that. When you get to 30 charter flights, how do you keep booking charter flights? Can not be deleted? And start again? Can not reset the counter and reset it to zero? Can not create more than 30 charter flights? for example 100 Edited May 24, 2018 by polirom mas + Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted May 24, 2018 Moderators Report Share Posted May 24, 2018 6 hours ago, polirom said: Hello Excellent work. I was looking for something like that. When you get to 30 charter flights, how do you keep booking charter flights? Can not be deleted? And start again? Can not reset the counter and reset it to zero? Can not create more than 30 charter flights? for example 100 I don't use this module but have had a quick look into it. It literally says how to change this in the instructions... Check line 62 of the ops_scheduleform.tpl 1 Quote Link to comment Share on other sites More sharing options...
polirom Posted May 24, 2018 Report Share Posted May 24, 2018 11 hours ago, shakamonkey88 said: I don't use this module but have had a quick look into it. It literally says how to change this in the instructions... Check line 62 of the ops_scheduleform.tpl Thanks, I put it on 50 flights I would like more if they could be eliminated Quote Link to comment Share on other sites More sharing options...
polirom Posted May 25, 2018 Report Share Posted May 25, 2018 Hi. I have a major problem with the creation of charter flights. If a pilot creates a Charter flight with the flight number (example 09990) and another pilot creates a charter flight with the same flight number (example 09990) the system does not allow the creation of the charter flight to the second pilot because the system says that the flight number already exists Pilot number 1 Pilot number 2 How can i fix this. If you have 20 pilots and all start to create charter flights, there will be many conflicts when numbering flights. We are only with two pilots and I found the problem. Quote Link to comment Share on other sites More sharing options...
FSVKenny Posted June 12, 2018 Report Share Posted June 12, 2018 Hello. Will this work in V5 of phphVMS? My V5 does not have any TPL files. Thank you. Quote Link to comment Share on other sites More sharing options...
mikaelartur Posted May 8, 2020 Report Share Posted May 8, 2020 Hello, Could someone help me with the php code to generate automatically flight number and the ability to delete the old charter route? It is compatible with phpvms 5.5.2.72/php72. I am very sure that this module deserves the attention and all our respect for the one who created it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.