Life-Pill / pharmacy-pos-main-backend

The Pharmacy POS System Backend is the server-side component of our comprehensive pharmacy management software. It is developed using Spring Boot, Java, Spring Security ,and Microservices Architecture
Apache License 2.0
5 stars 3 forks source link

Implement Endpoint to Retrieve Employer Name and ID #122

Closed TheTharz closed 5 months ago

TheTharz commented 5 months ago

Issue: Implement Endpoint to Retrieve Employer Name and ID

Title: Implement Endpoint to Retrieve Employer Name and ID

Description: Currently, there is no endpoint available to retrieve the name and ID of employers associated with a specific branch. This functionality is crucial for various management tasks, such as tracking employees and assigning roles within the organization.

Proposed Solution:

  1. Develop a new API endpoint in the backend that accepts a branch ID as a parameter.
  2. Implement logic in the backend to fetch the name and ID of employers associated with the provided branch ID from the database.
  3. Ensure proper error handling in case the branch ID is not found or if there are any issues with retrieving the employer information.

Acceptance Criteria:

Priority: High