No diary + limited info = impossible to give meaningful answers.
Letting it get this advanced before asking for help is pushing shit uphill.
There is no way to fix this before the plants will be ready for harvest.
The best you can hope for is to stop it getting worse.
Without knowing what you have been or have not been doing, any answers are glorified guesses at best.............but you seem to have multiple deficiencies and/or other problems..........but without a diary...............
Best guess..........phosphorous deficiency, potassium deficiency, calcium deficiency...........but all these things could be a result of bad pH, bad watering habits, bad fertilizer schedule, incorrect fertilizers etc, etc.............but without a diary..........who knows what caused this exactly......sorry.