These are the columns to be saved after fee payment
acc_year_id (academic year)
class_id
section_id
student_id
bill_no
payment_date
any_notes (any notes can be written)
cash_type (fee paid by cash or cheque just the type can be mentioned)
discount_amt (if any discount amount is given to that student)
fine_amt (if any fine )
balance_amt (some times parents may pay only 3/4th of the amt like if 10000 is there they will pay 8000 and keep the balance 2000 to pay in next term that is term2. like installment payment.)
fee_main_cat_id (the main category like term1 or term2)
fee_sub_cat_id (sub categories for the main category term1 bus fee, school fee, extra fee etc..)
tota_amt_of_fee_main_cat (the actual amt for the main category say like 10000 rupees)
payment_status (paid /or /not)
all the above columns i must save. my doubt is do i need all the above columns?? else shall i can remove few?? how i can make this in two tables or in a single table.
and i expect the output as like below. if the parent need the receipt as printed format the printed format should be like below
Term1
School Fee 5000
Bus Fee 2000
Lab Fee 2000
Extra fee 1000
Total 10000
Term2 ... (if the parent pay the term 2 fee also this will be filled same as term1)
// if the parent kept any balance means it should be given like below
Term1
School Fee 5000
Bus Fee 2000
Lab Fee 2000
Extra fee 1000
Total 10000
Paid 8000
Balance 2000
and this balance is carried to next term fee that is for term2 fee. thats why i given a balance textbox in the fee payment form.
what i planned is dividing it in two tables
Table 1: Student_fee_transaction_master with columns
acc_year_id
class_id
section_id
student_id
bill_no
payment_date
any_notes
cash_type
Fees_original_amt
discount_amt
fine_amt
balance_amt
fee_main_cat_id
Table 2: Student_fee_transaction_details with columns
id
bill_no_id (from master table)
fee_main_cat_id
fee_sub_cat_detail
// this table fully says abt the fee sub category details
is all this right??
kindly some one hlep please??