Sunteți pe pagina 1din 3

architecture

project architecture
admin is supreme authority in Pharmacy Management System. Admin has authority to create , view and
delete an account. admin Can add, view& delete pharmacist. admin enters the name of
pharmacist .his address , mobile no,email ,username,password and date of birth is entered to
create a new account.
pharmacist id is automatically assigned by Pharmacy Management System to pharmacist which is
unique. email id is validated and checked that it is correct email id with html5 validation.Some
smartphones recognize the email type, and adds ".com" to the keyboard to match email input.
on click ing submit button the data is send to admin_pharmacist.php page which process the data and
insert it into the database table.Now pharmacist can login to this pms by entering username and
password and selecting designation pharmacist. pharmacist can see his password while entering it by
checking the checkbox of "show password". pharmacist can also remember his password using cookies
by checking "keep me login".

admin Can add, view& delete cashier. admin enters the name of cashier .his address , mobile
no,email ,username,password and date of birth is entered to create a new account.
cashier id is automatically assigned by Pharmacy Management System to cashier which is unique.
email id is validated and checked that it is correct email id with html5 validation.Some smartphones
recognize the email type, and adds ".com" to the keyboard to match email input.
on click ing submit button the data is send to admin_cashier.php page which process the data and insert
it into the database table.Now cashier can login to this pms by entering username and password and
selecting designation cashier. cashier can see his password while entering it by checking the checkbox of
"show password". cashier can also remember his password using cookies by checking "keep me login".

admin Can add, view& delete manager. admin enters the name of manager .his address , mobile
no,email ,username,password and date of birth is entered to create a new account.
manager id is automatically assigned by Pharmacy Management System to manager which is unique.
email id is validated and checked that it is correct email id with html5 validation.Some smartphones
recognize the email type, and adds ".com" to the keyboard to match email input.
on click ing submit button the data is send to admin_manager.php page which process the data and
insert it into the database table.Now manager can login to this pms by entering username and password
and selecting designation manager. manager can see his password while entering it by checking the
checkbox of "show password". manager can also remember his password using cookies by checking
"keep me login".

pharmacist can login to his account. After entering , he can add new prescription by clicking add tab.
pharmacist enters customer name , medicine name and its quantity. To add another medicine
pharmacist clicks add more button to create other input fields. the new input fileds are created for
entering medicine name and quantity. By clicking again add more button the further new input field are
created. if extra fields are created then pharmacist can click on cross button to delete input filed. after
entering the input fields pharmacist click on submit button .By clicking submit button the input field data
is send to prescription.php page .it inserts username and pres id into prescription table.it gets medicine
name and quantity into webpage and using medicine name it fetches unit_price of medicine from
database.This page multiplies unit_cost with quantity and calculates total . it subtracts quantity from
stk_qty (stock quantity) , so database remains consistent.

pharmacist can view old prescription in view tab. prescription are shown in tables with ascending order
of pres_id. pharmacist can see customer name , pres_id and cross button.and below this, there table
heading of medicine name, unit price,qty and total.By taking cursor on cross button of prescription, the
cross button get red. on clicking on cross button , a message box is shown . it displays "are u sure" and
two buttons of yes and no . if you want to delete prescription then press yes.the prescription record will
be deleted from the database. and if you don't want to delete prescription then press no.

phamacist can go to stock page by clicking stock on sidebar. on stock page pharmacist can view stock
detais in stock details table of view tab.In stock details table there is list of stock of medicine
available.Each medicine stock is assigned a unique id called stock .it is not repeated in any case.Next field
is medicine name, which contains the name of medicine. category field tells the type whether it is
tablet ,capsule ,serap or other.company and supplier name of medicine is also mentioned. quantity field
tells no medicnies remaining. cost, profit ,date_supplied and expiry is also listed in stock details table.

pharmacist can add new stock by going in add tab of prescription page. pharmacist will fill medicine
name , category, description company name, supplier name,quantity, unit cost, unit profit ,date supplied
and date of expiry.

Can add, view & delete pharmacist.


Can add, view & delete manger

S-ar putea să vă placă și