We need an Installment Payout Master under Templates where we can define any number of Installment Payout Templates.
Each Installment Payout Template will consist of
1) Template name (unique)
2) Insurers (optional, multi select drop down)
3) Policies (optional, multi select drop down)
(4a) Number of Months/Years,
(4b) Tax Rate
(4c) Commission Rate
(4d) [Add More] button.
During policy entry step, if Payment Terms is changed to one of monthly, quarterly, half-yearly or annually, then give an extra option to select Installment Payout Templates. Position it between Next Payment Date and Number of Additional Installments.
Accordingly, generate the Installments table.