In any case, whether there is an agreement or not, the courts shall fix a reasonable compensation which lawyers may receive for their professional services. 17 A lawyer has the right to be paid for the legal services he has extended to his client, which compensation must be reasonable. 18 A lawyer would be entitled to receive what he merits for his services.