TC Addition Chart Login System


2.3.3. The pool is empty.

Identify object classes

This product class contains information about the product including product code, product name, notes, product price, discount, image, unit price.

Product Type This class contains product types, product type codes, product type names.

Maybe you are interested!

This class contains the order information including order number, order date, total amount, payment method, notes.

This layer unit detail contains the unit detail information including unit detail code, quantity, product price.

This customer class contains customer information including customer code, customer name, gender, email, address, phone number, notes.

This class contains user information including user id, full name, email, password, phone number, address, and password.

Figure 2.10. Class diagram


2.4. INTERACTIVE CONDITIONS

2.4.1. Large tank


: Customer : Employee : Manager : FrmLogin : : USER

Enter information()

CtlDangNhap



Enter t


no news()


Enter information()


Process login()


Check()


Check result()


[TT Hop Le] Allow login()


[TT Invalid] Error message()


Check result()


Figure 2.11. Login sequence diagram


Customer

: FrmThongTiinSanPham : FrmThanhToan

: CtllNganHang : DONHANG : ORDER


Select product to buy()

Save information()

Show payment form()

Confirm payment()

Save information()

Feedback information()

Purchase Request Show product catalog...


Feedback information()

Update store hours()


Payment Request()

Login Request()

Login successfully...


Update order()


Figure 2.12. Payment sequence diagram


2.4.2. Swimming pool


8: Login request()

: Customer

: FrmThanhToan

: CtlNganHang

12: Save information()

10: Display payment form()

1: Purchase request

3: Select the product you want to buy()

6: Information Feedback() 14: Information Feedback()

: FLOWER DONATION

2: Show product list()

5: Update delivery time()

13: Update order()

4: Save information()

9: Login successful() 7: Payment requested()


11: Confirm payment()



: FrmProductInformation: DONHANG


Figure 2.13. Payment collaboration diagram



: Customer


1: Enter information()

: Staff


: The Manager


7: [Valid TT] Allow login() 8: [Valid TT] Error message()

2: Enter information() 3: Enter information()


9: Return result()



: CtlDangNhap

4: Process login() 5: Check()


: FrmDangNhap


6: Check result()


: USER


Figure 2.14. System login collaboration diagram


2.4.3. Tank


User Login to the system

For login

Enter login information

Activities

Figure 2.15. Login state diagram


Payment processing system

For payment

Make payment

Clear skin

Figure 2.16. Payment status chart


Search for information

Enter search term

End of entry

Search Processing

Search End

Processing of result notification

Search result notification


Figure 2.17. Search state diagram


CHAPTER: INTRODUCTION TO WEBSITE

3.1. USING LARAVEL TO BUILD WEBSITE

3.1.1. Coffee machine

3.1.1.1. Install Xampp

1. Go to the browser and open the link: https://www.apachefriends.org/download.html

Step 2. Scroll down and select the version as below and start downloading.

Step 3. After downloading the sc file as below


Step 4. Open the downloaded file, the tool box will appear as below.

Step 5. Click Next 3 times, uncheck “earn more about itnami for Xampp”, then click Next 2 times and then click Finish

Step 6. After selecting Finish, Xampp language will open.


Step 7. After selecting the language, click Save. After clicking Save, your default language will be saved and the Xampp dashboard will be displayed.

Step 8. Click the Start button to the right of Apache . This will start Apache , at this point you are ready to install Composer

3.1.1.2. Set up Composer

1. Go to the link in the browser: https://getcomposer.org/download/

Step 2. Click Composer-Setup.exe to download the Composer setup file or Ctrl + C the command below:


php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"

php -r "if (hash_file('SHA384', 'composer-setup.php') ==='544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a8 58088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"

php composer-setup.php

php -r "unlink('composer-setup.php');"


Step 3. Open Command Prompt by searching or pressing Window + R key combination type in “cmd” then Ctrl + V into Command Prompt and it will start running automatically.

Step 4. Run the command below to complete the Composer installation.

3.1.1.3. Install Laravel

Step 1. Open Command Prompt

Comment


Agree Privacy Policy *