PHP - Fix math in Account credit

Job ID: 32201079

Budget: $490 – $500 USD

Framework: Laravel

Need: Proficiency in Laravel

Users are provided credit when they submit KYC Documents.

Transaction type 'Credit needs to be created - beginning from 000000

4 Tasks:

1. Add every user to the Program that has their $kyc_country == $eligible_country {send_welcome _email}.
2. Provide credit balance to every user in the program, with females receiving 30%($female_ratio) more than males. We will need an algorithm to achieve this.
3. if ( $eligible_user.user_usd_contribution_total > $disqualify_threshold_usd) { user_program_removal = true; program_user = false; send_disqualify_usd_email} }
4. At $global_end_date if $eligible_user.kyc_country == $eligible_country && $eligible_user.kyc_status == $kyc_approved { $credit_txn_status=confirmed } } else
{ user_program_removal = true; program_user = false; send_disqualify_not_eligible_email }

1 and 2 are implemented. The math needs to be adjusted. The program of current is a pool for both genders. Due to difference in gender registration, this will not work. There will not be many female but we need to ensure that when one joins she is receiving $female_ratio more credit than one male, or other males.When deductions are made to provide for new participants it should always be that women end having more than the next male, or any particular male.

Timeline 8 days. We will cancel if one day late.

Strict $500. No more will be distributed.
Related categories: PHP Software Architecture MySQL Laravel