I reside in Spain and have been working for a UK company for 6 years, they never got around to setting up paying my tax and NIC to the Spanish authorities but continued instead to pay in the UK.
I spend more than the required days per year to be considered tax resident(hardly have left the country), also hold a residency card and do all of my work in this country.

If they now make me redundant do they have to comply with the Spanish employment law regarding minimum redundancy pay and conditions etc.?

Thanks in advance!