SRS Sample (New Capstone - IS)
SRS Sample (New Capstone - IS)
SRS Sample (New Capstone - IS)
Table of Contents
I. Record of Changes 9
ACF Team 1
ACF - Anh Chung Furniture Management System
ACF Team 2
ACF - Anh Chung Furniture Management System
ACF Team 3
ACF - Anh Chung Furniture Management System
ACF Team 4
ACF - Anh Chung Furniture Management System
ACF Team 5
ACF - Anh Chung Furniture Management System
ACF Team 6
ACF - Anh Chung Furniture Management System
ACF Team 7
ACF - Anh Chung Furniture Management System
I. Record of Changes
A*
Date In charge Change Description
M, D
Move use case description down to Functional
21/10/2021 M Use Case
requirement
ACF Team 8
ACF - Anh Chung Furniture Management System
ACF Team 9
ACF - Anh Chung Furniture Management System
2. User Requirements
2.1 Actors
# Actor Description
A system Super administrator is responsible for the account
1 Super Administrator manager, the data manager. The administrator will specify the user's
permissions
They are the administrators of the company. Responsible for managin
2 Administrator
personnel, materials, Company, contracts, production orders
3 Employee Employees who work in the company.
Table 3.1: System Users
ACF Team 10
ACF - Anh Chung Furniture Management System
ACF Team 11
ACF - Anh Chung Furniture Management System
2.2.2 Descriptions
ID Use Case Actors Use Case Description
SPAdmin,
1 Authentication Admin, Login/logout
Employee
Manage Account Actor has the right to manage all accounts in the
2 SPAdmin
system
Manage Position Actor has the right to manage all positions of the
3 Admin
company
Manage User Actor can view, add, edit and delete employees to
4 Admin
the system
Manage Salary - Admin can view and pay monthly salary for
employee, they can also view salary history paid to
employee
SPAdmin,
- Employee can see salary and salary calculation
9 Admin,
in their current and historical times. They can also
Employee
view the rewards or punishments they have
received.
Manage SPAdmin,
10 Actor can add bonus/penalty menu for employee
Bonus/Punish Admin
ACF Team 12
ACF - Anh Chung Furniture Management System
Manage Material SPAdmin, Add Measurement unit, add, add frame and height,
12
Admin update, delete, view list, search & filter
Manage
SPAdmin,
13 Measurement Add, view list, delete Measurement Unit
Admin
Unit
Manage Cover SPAdmin, Add, add measurement unit, add frame and height,
17
Plate Admin update, delete, view list, search & filter Cover Plate
Suggestion SPAdmin,
18 View list, search & filter suggestion
Supplies Admin
Manage SPAdmin, Add, update, delete, search & filter, view detail
19 Company Admin Company
Notification SPAdmin,
24 Admin, View list, delete, delete list notification
Employee
Dashboard SPAdmin,
Statistics for all system users depending on system
25 Admin,
permissions
Employee
Table 3.2: User Case Diagram - Overview
ACF Team 13
ACF - Anh Chung Furniture Management System
3. Functional Requirements
3.1 System Functional Overview
3.1.1 Screens Flow
3.1.1.1 SPAdmin
ACF Team 14
ACF - Anh Chung Furniture Management System
3.1.1.2 Admin
ACF Team 15
ACF - Anh Chung Furniture Management System
3.1.1.3 Employee
ACF Team 16
ACF - Anh Chung Furniture Management System
16 Manage User View List Employee Show all employee lists on screen.
Personal Leave Add Personal Leave Display pop-up fill in information to add a
23
Application Application new leave application.
Personal Leave View List Leave Display all the above leave application list
27
Application Application on the screen.
Personal Leave View Details Leave Displays a pop-up with details of the leave
28
Application Application application.
ACF Team 17
ACF - Anh Chung Furniture Management System
Accept Salary
37 Manage Salary Accept salary payments.
Payments
47 Manage Bonus/Punish View List Punish Displays a list of penalties on the screen.
Search & Filter Displays a list of fines that satisfy the search
48 Manage Bonus/Punish
Punish and filter conditions.
View List
49 Manage Bonus/Punish Show list of rewards/penalties.
Bonus/Punish
ACF Team 18
ACF - Anh Chung Furniture Management System
View Detail
50 Manage Bonus/Punish Show reward/punishment details.
Bonus/Punish
59 Manage Material View List Material Displays a list of materials on the screen.
ACF Team 19
ACF - Anh Chung Furniture Management System
Manage Group Cover Add Group Cover Display pop-up, fill in information to add a
69
Plate Plate new cover plate group.
Manage Group Cover Delete Group Cover Displays a confirmation pop-up to remove
70
Plate Plate the selected overlay group from the display.
Manage Group Cover View List Group Displays a list of overlay groups on the
71
Plate Cover Plate screen.
82 Manage Company View List Company Display a list of companies on the screen.
83 Manage Contract View List Contract Display the list of contracts on the screen.
ACF Team 20
ACF - Anh Chung Furniture Management System
Manage Advance View List Advance Display the contract's advance history list
97
Contract Money Contract Money on the screen.
Manage Advance Update Advance Displays an advance edit pop-up for the
100
Contract Money Contract Money contract.
ACF Team 21
ACF - Anh Chung Furniture Management System
Manage Production Add Production Order Display pop-up fill in information to add a
103
Order new Production Order.
Manage Production View List Production Displays a list of Production Orders on the
107
Order Order screen.
Manage Production View Employee Job Display the employee's job list on the
108
Order List screen.
Manage Production Search & Filter Displays a list of Production Orders that
109
Order Production Order satisfy the search and filter conditions.
Manage Production View List of Display the employee's own job list on the
111
Order Assigned Tasks screen.
Manage Production Search & Filter Displays a list of assigned jobs that satisfy
114
Order Assigned Tasks the search and filter conditions.
ACF Team 22
ACF - Anh Chung Furniture Management System
01 Login ✔ ✔ ✔
02 Logout ✔ ✔ ✔
03 Create Account ✔
04 Update Account ✔
05 Reset Password ✔
08 Delete Account ✔
10 Search Position ✔
11 Add Position ✔
12 Update Position ✔
13 Delete Position ✔
14 Add Employee ✔
15 Update Employee ✔
16 Delete Employee ✔
17 View Employee ✔
20 View Profile ✔ ✔ ✔
21 Change Password ✔ ✔ ✔
22 Timekeeping ✔
23 View Timekeeping ✔
24 Update Timekeeping ✔
26 Export Timekeeping ✔
ACF Team 23
ACF - Anh Chung Furniture Management System
47 Add Bonus ✔
48 Update Bonus ✔
49 Delete Bonus ✔
52 Add Punish ✔
53 Update Punish ✔
54 Delete Punish ✔
ACF Team 24
ACF - Anh Chung Furniture Management System
63 Add Material ✔
66 Update Material ✔
67 Delete Material ✔
ACF Team 25
ACF - Anh Chung Furniture Management System
92 Add Company ✔
93 Update Company ✔
94 Delete Company ✔
98 Import Contract ✔
99 Export Contract ✔
ACF Team 26
ACF - Anh Chung Furniture Management System
137 DashBoard ✔ ✔ ✔
Table 3.4 : Screen Authorization
ACF Team 27
ACF - Anh Chung Furniture Management System
1 Auto send email ● Automatically send an email containing the username and password to
the registered email for the account when creating a new account in
the system
● Automatically send an email containing the username and password to
the registered email for the account when resetting the password for
the account
● Automatically email admin for employees who have not been clocked
during the day between 18:00 and 19:00 every day
4 Auto Attendance Automatically mark time off for employees who have not been clocked
when it is past 23:00 every day
5 Automatic salary Automatically calculate employee's salary and by the 10th of every month
calculation will allow admin to confirm salary payment for employees
6 Automatically calculate Automatically calculate the number of times the material is used in the
materials used multiple contracts and save it to the database every month, every quarter, every
times in the contract year
Table 3.5 : Non-Screen Functional
ACF Team 28
ACF - Anh Chung Furniture Management System
ACF Team 29
ACF - Anh Chung Furniture Management System
3.2.1.1 Login
ACF Team 30
ACF - Anh Chung Furniture Management System
3.2.1.2 Logout
ACF Team 32
ACF - Anh Chung Furniture Management System
ACF Team 33
ACF - Anh Chung Furniture Management System
ACF Team 34
ACF - Anh Chung Furniture Management System
ACF Team 35
ACF - Anh Chung Furniture Management System
ACF Team 36
ACF - Anh Chung Furniture Management System
ACF Team 37
ACF - Anh Chung Furniture Management System
ACF Team 38
ACF - Anh Chung Furniture Management System
ACF Team 39
ACF - Anh Chung Furniture Management System
Post-conditions: POST-1 Display the list of position that match the actor's request
45.0 Search & Filter Position
1. Actor accesses the "Quản lý chức vụ" screen with the Admin account
2. Actor fills in the position name search field and sifts through the
Normal Flow:
dropdown lists.
3. The system will return a list of positions containing the keyword and
filter by the selected fields
Alternative Flows: N/A
System displays error message when:
Exceptions:
1. Cannot connect to server
Business Rules: N/A
Table 3.16 : Use Case Specification - Search & Filter Position
ACF Team 42
ACF - Anh Chung Furniture Management System
ACF Team 43
ACF - Anh Chung Furniture Management System
ACF Team 45
ACF - Anh Chung Furniture Management System
ACF Team 46
ACF - Anh Chung Furniture Management System
ACF Team 47
ACF - Anh Chung Furniture Management System
ACF Team 48
ACF - Anh Chung Furniture Management System
ACF Team 49
ACF - Anh Chung Furniture Management System
ACF Team 50
ACF - Anh Chung Furniture Management System
ACF Team 52
ACF - Anh Chung Furniture Management System
3.2.6.1 Timekeeping
ACF Team 53
ACF - Anh Chung Furniture Management System
ACF Team 54
ACF - Anh Chung Furniture Management System
ACF Team 56
ACF - Anh Chung Furniture Management System
ACF Team 57
ACF - Anh Chung Furniture Management System
ACF Team 58
ACF - Anh Chung Furniture Management System
ACF Team 59
ACF - Anh Chung Furniture Management System
ACF Team 60
ACF - Anh Chung Furniture Management System
ACF Team 61
ACF - Anh Chung Furniture Management System
ACF Team 62
ACF - Anh Chung Furniture Management System
ACF Team 63
ACF - Anh Chung Furniture Management System
ACF Team 64
ACF - Anh Chung Furniture Management System
ACF Team 65
ACF - Anh Chung Furniture Management System
ACF Team 68
ACF - Anh Chung Furniture Management System
ACF Team 69
ACF - Anh Chung Furniture Management System
ACF Team 70
ACF - Anh Chung Furniture Management System
ACF Team 71
ACF - Anh Chung Furniture Management System
ACF Team 72
ACF - Anh Chung Furniture Management System
3. The system displays the salary list and the list of rewards and
punishments
4. Actor choose to view current salary list or salary history
5.1 Salary display system and how to calculate salary, bonus and penalty
in the month
5.2 Salary display and salary calculation system in previous months
ACF Team 73
ACF - Anh Chung Furniture Management System
ACF Team 74
ACF - Anh Chung Furniture Management System
ACF Team 75
ACF - Anh Chung Furniture Management System
ACF Team 76
ACF - Anh Chung Furniture Management System
ACF Team 77
ACF - Anh Chung Furniture Management System
ACF Team 78
ACF - Anh Chung Furniture Management System
ACF Team 79
ACF - Anh Chung Furniture Management System
Figure 3.64: Search & Filter List History Salary Payments Mockup
Function ID: FR-49 Search & Filter List History Salary Payments
Actor(s): Admin
Description: Search salary history paid to employees
Trigger: Actor wants to find employee pay history
PRE-1 Actor has logged into the system
Pre-conditions:
PRE-2 Actor's account must be a Administrator account
Post-conditions: POST-1 Hiển thị màn hình danh sách lịch sử trả lương nhân viên
45.0 Search & Filter List History Salary Payments
1. Actor logged into the system
2. Actor chooses to go to employee pay history screen
Normal Flow:
3. The system displays the list of salary history paid to employees
4. Actor performing the search operation
5. The system returns a list according to Actor .'s search request
Alternative Flows: N/A
System displays error message when:
Exceptions:
1. Cannot connect to server
Business Rules: BR8
Table 3.55 : Use Case Specification- Search & Filter List History Salary Payments
ACF Team 80
ACF - Anh Chung Furniture Management System
ACF Team 81
ACF - Anh Chung Furniture Management System
ACF Team 82
ACF - Anh Chung Furniture Management System
ACF Team 83
ACF - Anh Chung Furniture Management System
ACF Team 84
ACF - Anh Chung Furniture Management System
ACF Team 85
ACF - Anh Chung Furniture Management System
ACF Team 86
ACF - Anh Chung Furniture Management System
ACF Team 87
ACF - Anh Chung Furniture Management System
ACF Team 88
ACF - Anh Chung Furniture Management System
ACF Team 89
ACF - Anh Chung Furniture Management System
ACF Team 90
ACF - Anh Chung Furniture Management System
ACF Team 91
ACF - Anh Chung Furniture Management System
ACF Team 92
ACF - Anh Chung Furniture Management System
ACF Team 94
ACF - Anh Chung Furniture Management System
ACF Team 95
ACF - Anh Chung Furniture Management System
ACF Team 97
ACF - Anh Chung Furniture Management System
ACF Team 99
ACF - Anh Chung Furniture Management System
If Group Cover Plate is being used, the system displays a message that delete
failed and returns the Actor to the Group Cover Plate list screen.
Business Rules: - The Group Cover Plate in use cannot be deleted
Table 3.87 : Use Case Specification- Delete Group Cover Plate
Figure 3.108: Add Frame and Height for Cover Plate Mockup
Function ID: FR-85 Add Frame and Height for Cover Plate
Actor(s): Admin
Description: Add Frame and Height to Cover Plate
Trigger: Actor wants to add frame and height to Cover Plate
PRE-1 Actor has logged into the system
Pre-conditions:
PRE-2 Actor's account must be a Administrator account
POST-1 Add a Cover Plate with the selected parameter and all the units that
Post-conditions: Cover Plate has
POST-2 Update Cover Plate list
45.0 Add Frame and Height for Cover Plate
1. Actor chooses to go to Cover Plate Management page
2. Cover Plate list display system
3. Actor chooses to add frame and height for Cover Plate
Normal Flow:
4. Popup display system adds frame and height to Cover Plate
5. Actor adds frame and height to Cover Plate and saves
6. System adds frame and height to Cover Plate and updates Cover
Plate list
Alternative Flows: N/A
System displays error message when:
1. Cannot connect to server
Exceptions:
2. Cover Plate already exist
3. The required fields have not been filled in
Business Rules: BR27
Table 3.91 : Use Case Specification- Add Frame and Height for Cover Plate
Post-conditions: POST-1 Show a detailed list of advance payments for the contract
45.0 View Detail History Advance Contract Money
1. Actor click to "Tạm ứng tiền hợp đồng"
Normal Flow: 2. The system displays the payment history list screen
3. Choose to view the details of a contract's advance history
4. The system displays a popup history of that contract's payment
Alternative Flows: N/A
System displays error message when:
Exceptions:
1. Cannot connect to server
Business Rules: BR8
Table 3.121 : Use Case Specification- View Detail History Advance Contract Money
3.2.24 Notification
3.2.5 Dashboard
3.2.25.1 Dashboard
Function ID: FR-137 Dashboard
Actor(s): SPAdmin, Admin, Employee
Description: View system statistics
Trigger: Actor wants to see system statistics
Pre-conditions: PRE-1 Actor has logged into the system
Post-conditions: POST-1 Display statistics screen for each user role
45.0 Dashboard
Normal Flow:
1. Actor logged into the system
Alternative Flows: N/A
System displays error message when:
Exceptions:
1. Cannot connect to server
Business Rules: N/A
Table 3.143 : Use Case Specification- Dashboard
4. Non-Functional Requirements
4.1 External Interfaces
4.1.1 User Interfaces
UI-1: Web application using Ant Design version 1.7.
● The function is divided into the main functions for easier access.
● Can use the keyboard and mouse and keyboard combinations easily to access
● The web application should support Chrome browsers
4.2.2 Performance
● The average response time is 250 ms under good condition
● Timeout estimate at 1500ms
4.2.3 Security
● Token-based authentication using JWT
● HTTP between client & server
● Encrypt password with BCrypt algorithm
● Each user have their own role with with limited permissions.
4.2.4 Safety
● The request sent to the host should be encrypted because we are using HTTP requests.
● The password should be hidden.
4.2.5 Supportability
● Comply with coding conventions.
● Naming convention for back-end using camel-case convention.
● Front-end Vue architecture follows standard single page application structure to ensure
maintainability.
● REST API standard for connecting between front-end and back-end.
● The Back-end uses Three Layer Model, and follows the SOAP principle.
● Maintainable source code and easy deployment since we follow a single coding convention and
a highly maintainability architecture design.
5. Requirement Appendix
5.1 Business Rules
ID Rule Definition
User must provide their username and password when logging into the
BR-01
website
BR-02 JWT token is expired in 8 hours
BR-03 Password must be at least 8 characters in length
BR-04 Password must be encrypted
Username and password of the account will be sent to Employee via their
BR-05
registered email
BR-06 Accounts with "Nháp" status will not be able to log into the account
When creating an account and resetting the password, the account's
BR-07
password will be sent to the employee by email
BR-08 List contains only 10 records per page
BR-09 Unable to delete the account Actor is using
The number of functions an account can use depends on the account's
BR-10
system permissions
BR-11 It is not possible to have two positions that overlap
BR-12 The Employee whose position is deleted will be preserved
BR-13 Unable to use an existing phone number
BR-14 Unable to use email that already exists
When the Actor deletes Employee, the system will also delete the
BR-15
employee's account
BR-16 Admin can change timekeeping for employees for up to 1 month
Unable to update and delete Leave Application and Salary Advance that
BR-17
has been Accepted/Rejected by Admin
BR-18 Unable to create a leave application for the day before the current date
Employee's previous month's salary can only be paid after the 10th of
BR-19
each month
BR-20 Unable to delete and update Rewards and Penalties in "Hiệu lực" status
BR-21 Cannot add the same Material Group, Measurement Unit, Height, Frame
When deleting the material group, Material, Unit of measure, Frame,
BR-22
Height, Company will not affect the materials used
Can only add unit of measure for Material and Cover Plate does not have
BR-23
that unit yet
It is not possible to add materials with the same measurement unit and
BR-24
parameter
BR-25 Only price of material and cover Plate can be updated
Cover Plate cannot be added with the same measurement unit and
BR-26
parameter
Disciplinary decisions, commendation decisions are included in the
BR-27
salary based on the effective time of the decision
Deleting the Cover Plate and Material does not affect the Products that
BR-28
are using it, but the new Product cannot be selected again
Unable to add a company that matches an existing company in the
BR-29
system
BR-30 The contract cannot be deleted once it has started working
BR-31 You can only change the contract's amount and expiration date
When adding a new material to a product, the quantity of the material
BR-32
must be added
ACF Team 174
ACF - Anh Chung Furniture Management System
Only work orders that have not been confirmed by employee can be
BR-33
updated and deleted
Work progress is always greater than 0 and less than or equal to total
BR-34
progress
Disciplinary decisions, commendation decisions are included in the
BR-35
salary based on the effective time of the decision
Timekeeping employees daily, if forgotten, there will be a reminder email
BR-36
every 15 minutes / 1 time from 6 to 7 pm
Table 3.144 : Business Rules
In red, under the Input-required “Chiều cao” Bạn phải điền vào ô
53 MSG53
text box fields are not empty chiều cao
Successfully added a new Thêm chiều cao thành
54 MSG54 Toast message
height công
Error when adding new Thêm chiều cao không
55 MSG55 Toast message
height thành công
Xóa chiều cao thành
56 MSG56 Toast message Delete added a new height
công
Error when delete new Chiều cao đang sử
57 MSG57 Toast message
height dụng, không được xóa
Input-required “Tên nhóm
In red, under the Bạn phải điền vào ô
58 MSG58 tấm phủ” fields are not
text box chiều cao
empty
Successfully added a new Thêm nhóm tấm phủ
59 MSG59 Toast message
group cover plate thành công
Error when adding new Thêm nhóm tấm phủ
60 MSG60 Toast message
group cover plate không thành công
Delete added a new group Xóa nhóm tấm phủ
61 MSG61 Toast message
cover plate thành công
Error when delete new Nhóm tấm phủ đang sử
62 MSG62 Toast message
group cover plate dụng, không được xóa
Input-required “Tên nhóm
In red, under the Bạn phải điền vào
63 MSG63 vật liệu” fields are not
text box nhóm vật liệu
empty
Successfully added a new Thêm nhóm vật liệu
64 MSG64 Toast message
group material thành công
Error when adding new Thêm nhóm vật liệu
65 MSG65 Toast message
group material không thành công
Delete added a new group Xóa nhóm vật liệu
66 MSG66 Toast message
material thành công
Error when delete new Nhóm vật liệu đang sử
67 MSG67 Toast message
group material dụng, không được xóa
In red, under the Input-required “chiều dài” Bạn phải điền chiều
68 MSG68
text box fields are not empty dài
In red, under the Input-required “chiều rộng” Bạn phải điền chiều
69 MSG69
text box fields are not empty rộng
Successfully added a new Thêm khung thành
70 MSG70 Toast message
frame công
Error when adding new Thêm khung không
71 MSG71 Toast message
frame thành công
72 MSG72 Toast message Delete added a new frame Xóa khung thành công
Error when delete new Khung đang sử dụng,
73 MSG73 Toast message
frame không được xóa
ACF Team 178
ACF - Anh Chung Furniture Management System
In red, under the Input-required “Mã tấm Bạn phải điền mã tấm
74 MSG74
text box phủ” fields are not empty phủ
In red, under the Input-required “Thông số” Bạn phải chọn thông
75 MSG75
text box fields are not empty số
In red, under the Input-required “Chiều cao” Bạn phải chọn chiều
76 MSG76
text box fields are not empty cao
In red, under the Input-required “Nhóm tấm Bạn phải chọn nhóm
77 MSG77
text box phủ” fields are not empty tấm phủ
In red, under the Input-required “Đơn vị đo” Bạn phải chọn đơn vị
78 MSG78
text box fields are not empty đo
In red, under the Input-required “Công ty”
79 MSG79 Bạn phải chọn công ty
text box fields are not empty
In red, under the Input-required “Giá thành” Bạn phải điền giá
80 MSG80
text box fields are not empty thành
In red, under the Input-required “Mã vật liệu” Bạn phải điền mã vật
81 MSG81
text box fields are not empty liệu
Successfully added a new Thêm tấm phủ thành
82 MSG82 Toast message
cover plate công
Error when adding new Thâm tấm phủ không
83 MSG83 Toast message
cover plate thành công
Successfully added a new Thêm vật liệu thành
84 MSG84 Toast message
material công
Error when adding new Thêm vật liệu không
85 MSG85 Toast message
material thành công
In red, under the Input-required “Tên công
86 MSG86 Bạn phải điền công ty
text box ty” fields are not empty
In red, under the Input-required “Địa chỉ”
87 MSG87 Bạn phải điền địa chỉ
text box fields are not empty
In red, under the Input-required “Số điện Bạn phải điền số điện
88 MSG88
text box thoại” fields are not empty thoại
In red, under the Input-required “Email”
89 MSG89 Bạn phải điền email
text box fields are not empty
Successfully added a new Thêm công ty thành
90 MSG90 Toast message
company công
Error when adding new Thêm công ty không
91 MSG91 Toast message
company thành công
Successfully updated a Chỉnh sửa công ty
92 MSG92 Toast message
company thành công
Error when updating a Chỉnh sửa công ty
93 MSG93 Toast message
company không thành công
In red, under the Input-required “Tên chức Bạn phải điền vào ô
94 MSG94
text box vụ” fields are not empty tên chức vụ
Figure 3.160 : Email after a super admin register an account for employee
When the admin forgets to timekeeping, every day from 6 to 7 pm, there will be a job that will
remind you to add timekeeping every 15 minutes.The image below is representative of this action:
When an employee forgets his password and requests a new password. The image below is
representative of this action: