You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task:
Differentiate annual & installment based classes at the time of registration of classes.
An integer based field can be used to define monthly difference between installments for individual class. This scenario can be used to automate the fee collection process.
Hints:
Let's suppose, user gives monthly difference of '4' to collect the installments from Class 'A'. And Start the session from Jan-2019 to Jan-2021. The system will automatically gives alert to the accountant whenever the defined monthly cycle is completed; a difference of 4 months.
In this way, an alert regarding fee collection from 'Class A' will be generated in every 4th month of the session i.e.
20th of April
20th of August
20th of December
And the iteration of installment cycle continues, throughout the session.
The following code can be used to get the current month in integer form. The obtained value can be used to compare the month defined in 'Custom Installment Cycle'. <?php echo "Today is " . date("Y-m-d") . "<br>"; ?>
The following code can be used to find a difference between specified date and current date. The code can be manipulated in such a way that it can be used to get the required results regarding 'Custom Installment Collection Alert'.
<?php $d1=strtotime("July 04"); $d2=ceil(($d1-time())/60/60/24); echo "There are " . $d2 ." days until 4th of July."; ?>
Output: There are 116 days until 4th of July.
The text was updated successfully, but these errors were encountered:
Task:
Differentiate annual & installment based classes at the time of registration of classes.
An integer based field can be used to define monthly difference between installments for individual class. This scenario can be used to automate the fee collection process.
Hints:
Let's suppose, user gives monthly difference of '4' to collect the installments from Class 'A'. And Start the session from Jan-2019 to Jan-2021. The system will automatically gives alert to the accountant whenever the defined monthly cycle is completed; a difference of 4 months.
In this way, an alert regarding fee collection from 'Class A' will be generated in every 4th month of the session i.e.
And the iteration of installment cycle continues, throughout the session.
The following code can be used to get the current month in integer form. The obtained value can be used to compare the month defined in 'Custom Installment Cycle'.
<?php echo "Today is " . date("Y-m-d") . "<br>"; ?>
The following code can be used to find a difference between specified date and current date. The code can be manipulated in such a way that it can be used to get the required results regarding 'Custom Installment Collection Alert'.
<?php
$d1=strtotime("July 04");
$d2=ceil(($d1-time())/60/60/24);
echo "There are " . $d2 ." days until 4th of July.";
?>
Output: There are 116 days until 4th of July.
The text was updated successfully, but these errors were encountered: