We are company -have income from interest and capital gain 112a & 111a and expenses is salary and interest 

We pay full tax on capital gain but we setoff salary from interest income.

Is this treatment is write