I’m working on school result portal. A result checking app. In each year, there are three kinds of exams. After entering scores for the exams, how can I display different columns for cummulative scores for the second and third exam?
@xpdealAug 29.2023 — #I think that due to the large volume of annual data, you should create routines to 'consolidate' total values. There are background routines; there is a library made for financial transactions that you can use as a basis to extract the best solution.
app(AtomicServiceInterface::class)->blocks($wallets, function () use ($amount, $wallets) { foreach ($wallets as $wallet) { $wallet->deposit($amount); } });