Last week, I got a job in which the client asked me to develop an eCommerce site where the client will be selling online eBooks. He told me that there will be 14 categories of the books. I started development and when I required the names of categories, he sent me 14 names in which two were haram, i.e., they were of adult nature.
I told him that I as a Muslim, I can't create those two categories for you in the system and that he should deduct some amount from me for that. He agreed and told me that he will do the Haram part through another developer.
Now I am worried that whether it will make my whole project haram or halal? I am dealing with only halal part but I know that he will hire a developer and will add haram stuff to the system developed by me as soon as I have completed.
Will my earning, from the said software system, be halal or haram?