A
A
Artyom Temnikov2020-06-16 16:29:35
PHP
Artyom Temnikov, 2020-06-16 16:29:35

How to distribute tasks depending on the user's mode and balance?

Good afternoon!

The user creates a project in the personal account, the project may have a budget, then there may be project pages (also with a limited budget), then the pages have requests (already with a limited number). The bottom line is that projects and pages (where no budget limit is specified) spend the balance without limits. So this is the essence of the question:

How to calculate and form all this? The bottom line is that, depending on all these conditions, I need to publish data (for publication, it is debited from the user's balance). If the project has "distributed mode" selected, the task is complicated by the fact that you also need to stretch the publication of records for a month. Tell me who can, I will be very grateful.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question