To remove annual salary section from payslip login as SYSADMIN role
Go to Configuration --> System>>Account option.
then Update 0 (zero) in "Print or Suppress Annual Salary Details in Payslip" field and click on "Save" button.
Please find the attachment for reference