Partners drawing a Salary

Q: If Zaid and Amar are partners in a business and they also work in the same business, Is it permissible for them to take a drawing or a salary monthly/weekly for the work that they are doing and at the end of the financial year end share the profits of the business?