Challenging Illegal Termination
The way you have been terminated is illegal. You can challenge such illegal termination in a court of law. Depending on the nature of your duties, it can be decided whether you fall under the category of a workman or not under the ID Act. If you challenge the termination, you may be entitled to reinstatement and back wages. However, since you have tendered your resignation (although on the advice of the management), you should immediately send a letter requesting that the resignation be treated as withdrawn unless you have proof that the resignation was obtained from you forcefully.
Options If Not Challenging Termination
If you do not want to challenge the termination and are satisfied with dues and full and final settlement, then depending on the nature of your duties, the nature of the company, its strength, your tenure of service, and the amount of last drawn wages, you can receive your outstanding dues.
Please note that you cannot challenge the termination of service and request a full and final settlement at the same time. Only if you accept the termination will you be able to ask for the full and final settlement.