Skip to main content

RRS - Module 5

Before we start with this module, verify if you have completed with the previous module. Only after you complete with it, should you start with this module.
In this module we would enable the user to cancel his reserved tickets.
A user can cancel reserved ticket and the fare is refunded according to the rules given.
Cancellation Rules:
TICKETS on which Reservations has been made.
  1. If a ticket on which reservation of a seat or berth has been made, is presented for cancellation, refund of fare shall be made after deducting cancellation charge from the fare as follows :-
    1. If a ticket is presented for cancellation more than 12 hours before the scheduled departure of the train cancellation charge shall be deducted at the flat rate of Rs. 50/- for A.C Class and Rs. 20/- for Sleeper class.
    2. If the ticket is presented for cancellation within 12 hours and up to 3 hours before the scheduled departure of the train, cancellation charges shall be 10% of the fare paid. (Rounded off to nearest rupee).
    3. If the ticket is presented for cancellation within 3 hours and up to 30 Minutes before the scheduled departure of the train, Cancellation charges shall be 60% of the fare paid. (Rounded off to nearest rupee).
    4. If the ticket is presented for cancellation after the scheduled departure of the train, refund money is Rs 0.
Steps to be followed for Cancellation part in this module are:
  1. Login as User
  2. Allow the user to cancel his/her ticket. (Note: The user can cancel a single ticket even when he has booked 2 tickets which have a single pnr_no)
  3. The amount to be refunded should be mentioned to the user.
  4. The total amount transacted on each day should also be seen by the Admin. This part should be done in the Admin Interface.

Comments

Popular posts from this blog

Mini Project - Railway Reservation System

Module 1 Overview Railway Reservation System-(RRS) Project is developed to help students learn and realize capability of C programming language, and appreciate procedural approach of developing a system. RRS helps users reserve/cancel berths, search for trains, check reservation/cancellation history, etc... On the other hand it helps the railway reservation officers to prepare reservation charts, organize train schedules, etc... RRS provides two types of log-ins one is the User log-in for railway customers and the other one is Admin log-in for railway reservation officers. Project is divided into 10 modules of four hours duration each. All the modules will give exactly what to develop in the 4 hour time frame. Since most of the modules are inter-related it is important to keep track of the previous code. After submission it is allowed to make changes in the previous code to suit / integrate well to the system. Before we start the project, we need to make the followin...

Inheritance

Week 1 - M5 : Inheritance Learning Objectives At the end of this module, you will be able to Understand the implementation of inheritance in C++ Override the base class members Access overridden base class members using the scope resolution operator Understand the concept of base class initialization Introduction Inheritance The philosophy behind inheritance is to portray things as they exist in the real world. As inheritance is found in real world, it is important feature of OO programming. Inheritance has many advantages, the most important of them being the resuability of code. Once a class is defined and debugged, it can be used to create new subclasses. The reuse of existing class saves time and effort. The Class from which another class is derived is called the base class . The class which inherits the properties of the base class is called the derived class . Each instance of the derived class includes all the members of the base class. Since...