You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/UserGuide.md
+76-66Lines changed: 76 additions & 66 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,39 +19,38 @@ and efficient Graphical User Interface interaction.
19
19
20
20
1. Download the latest `CLInic.jar` from [here](https://github.com/AY2021S1-CS2103-W14-4/tp/releases).
21
21
22
-
1. Copy the file to the folder you want to use as the _home folder_ for your AddressBook.
22
+
1. Copy the file to the folder you want to use as the _home folder_ for your CLI-nic system.
23
23
24
24
1. Double-click the file to start the app. The GUI similar to the below should appear in a few seconds. Note how the app contains some sample data.<br>
25
25

26
26
27
27
1. Type the command in the command box and press Enter to execute it. e.g. typing **`help`** and pressing Enter will display instructions on various commands.<br>
with the name warehouseA located at John street, block 123, #01-01. The warehouse is noted to be the “First warehouse”.
32
-
33
-
***`add`**`s/Philips Pharmaceutical p/00000000 e/philipsPharm@gmail.com sn/largest contractor` : Adds a
32
+
33
+
***`add`**`s/Philips Pharmaceutical p/00000000 e/philipsPharm@gmail.com sn/largest contractor` : Adds a
34
34
supplier named Philips Pharmaceutical. His contact number is 00000000 and his email is
35
35
philipsPharm@gmail.com. The supplier is noted to be the “largest contractor”.
36
-
37
-
***`add`**`s/SupplierA p/PANADOL SUSP t/FEVER` : Adds the product PANADOL SUSP to list of products from
36
+
37
+
***`add`**`s/SupplierA pd/PANADOL SUSP t/FEVER` : Adds the product PANADOL SUSP to list of products from
38
38
supplierA. This indicates that supplierA is selling this product. PANADOL SUSP also has a tag of FEVER.
39
-
39
+
40
40
***`clear`** : Deletes all contacts.
41
41
42
-
***`delete`**`delete supplier 12` : Removes supplier at index 12 from the list of suppliers.
42
+
***`delete`**`delete supplier 12` : Removes supplier at index 12 from the list of suppliers.
43
43
44
44
***`exit`** : Exits the app.
45
45
46
-
***`find`**`PANADOL warehouse`** : Displays all the warehouses managed by the manager that has a product
46
+
***`find`**`PANADOL warehouse`** : Displays all the warehouses managed by the manager that has a product
47
47
named PANADOL.
48
48
49
-
***`update`**`w/WarehouseA p/Panadol q/10` : Updates the quantity of Panadol in WarehouseA to 10. The
50
-
quantity of Panadol in WarehouseA can be more than 10 or lesser than 10 before the update is done.
49
+
***`update`**`w/WarehouseA pd/Panadol q/10` : Updates the quantity of PANADOL in WarehouseA to 10. The
50
+
quantity of PANADOL in WarehouseA can be more than 10 or lesser than 10 before the update is done.
51
51
52
52
***`view supplier supplierA`** : Displays all the information associated with supplierA e.g. address, contact, email, products sold by the supplier etc.
53
53
54
-
55
54
1. Refer to the [Features](#features) below for details of each command.
@@ -63,16 +62,16 @@ and efficient Graphical User Interface interaction.
63
62
**:information_source: Notes about the command format:**<br>
64
63
65
64
* Words in `UPPER_CASE` are the parameters to be supplied by the user.<br>
66
-
e.g. in `list TYPE`, `TYPE` is a parameter which can be used as `list products`.
65
+
e.g. in `delete TYPE INDEX`, `TYPE` is a parameter which can be used as `delete warehouse 1`.
67
66
68
67
* Items in square brackets are optional.<br>
69
-
e.g `[LIST_TYPE] INDEX` can be used as `delete store 12` or as `delete 1`.
68
+
e.g `add s/SUPPLIER_NAME p/CONTACT_NUMBER [e/EMAIL_ADDRESS]` can be used as `add s/Philips Pharmaceutical p/00000000 e/philipsPharm@gmail.com` or as `add s/Philips Pharmaceutical p/00000000`.
70
69
71
70
* Items with `…` after them can be used multiple times.<br>
72
71
e.g. `[t/TAG]…` can be used as `t/friend`, `t/friend t/family` etc.
73
72
74
73
* Parameters can be in any order.<br>
75
-
e.g. if the command specifies `n/NAME p/PHONE_NUMBER`, `p/PHONE_NUMBER n/NAME` is also acceptable.
74
+
e.g. if the command specifies `n/NAME p/CONTACT_NUMBER`, `p/CONTACT_NUMBER n/NAME` is also acceptable.
76
75
77
76
</div>
78
77
@@ -86,18 +85,20 @@ Narrows down to a specific command and its actual input format and samples if sp
86
85
Format: `help [COMMAND]`
87
86
88
87
Examples:
89
-
*`help` Display entire list of commands and their description
88
+
89
+
*`help` Display entire list of `COMMAND` and their description.
90
90
*`help add` Displays the detailed description, input format and an input example of add command.
*`add s/Philips Pharmaceutical p/00000000 e/philipsPharm@gmail.com sn/largest contractor` : Adds a
110
+
111
+
*`add s/Philips Pharmaceutical p/00000000 e/philipsPharm@gmail.com sn/largest contractor` Adds a
110
112
supplier named Philips Pharmaceutical. His contact number is 00000000 and his email is philipsPharm@gmail.com. The supplier is noted to be the “largest contractor”.
111
113
112
114
### Adding a product to a supplier : `add`
113
115
114
116
Adds product information to a supplier; associates a particular product with the supplier in the CLI-nic application.
*`update w/WarehouseA p/Panadol q/10` : Updates the quantity of Panadol in WarehouseA to 10. The
131
-
* quantity of Panadol in WarehouseA can be more than 10 or lesser than 10 before the update is done.
131
+
### Deletes a particular warehouse or supplier : `delete`
132
132
133
-
### View a specific supplier / warehouse: `view`
133
+
Delete entries of warehouses or suppliers that are not needed anymore.
134
134
135
-
Shows a particular supplier/warehouse with their relevant information e.g. products associated with the supplier/warehouse, address etc.
135
+
Format: `delete TYPE INDEX`
136
136
137
-
Format: `view TYPE NAME`
138
-
* The TYPE specified should be one of these values: supplier or warehouse
139
-
* NAME specified is case-insensitive
137
+
* The TYPE specified should be one of these values: warehouse / supplier.
138
+
* The INDEX must be a positive integer, not exceeding the total number of items.
140
139
141
140
Examples:
142
-
*`view supplier supplierA` Displays all the information associated with supplierA e.g. address, contact, email, products sold by the supplier etc.
143
-
*`view warehouse warehouseB` Displays all the information associated with warehouseB e.g. address, all the products stored in the warehouse etc.
141
+
142
+
*`delete warehouse 1` Removes the warehouse at index 1.
143
+
*`delete supplier 12` Removes supplier at index 12 from the list of suppliers.
144
144
145
145
### Finding medical product associated with warehouses / suppliers: `find`
146
146
147
147
Finds all suppliers or warehouses managed by the manager that sells the relevant medical products.
148
148
149
-
Format: `find PRODUCT TYPE`
149
+
Format: `find TYPE KEYWORD…`
150
150
151
-
*PRODUCT and KEYWORD specified is case-insensitive.
152
-
* The TYPE specified should be one of these values: warehouse / supplier
151
+
* KEYWORD specified is case-insensitive.
152
+
* The TYPE specified should be one of these values: warehouse / supplier.
153
153
154
154
Examples:
155
-
*`find PANADOL warehouse` displays all the warehouses managed by the manager that has a product named PANADOL.
156
-
*`find masks supplier` displays all the suppliers that have stock for the input product.
157
155
158
-
### Deletes a particular warehouse or supplier : `delete`
156
+
*`find warehouse PANADOL SUSP` Displays all the warehouses managed by the manager that has a product named PANADOL SUSP.
157
+
*`find supplier masks` Displays all the suppliers that have stock for the input product.
159
158
160
-
Delete entries of warehouses or suppliers that are not needed anymore.
159
+
### View a specific supplier / warehouse: `view`
161
160
162
-
**Format**: `delete TYPE INDEX`
161
+
Shows a particular supplier/warehouse with their relevant information e.g. products associated with the supplier/warehouse, address etc.
163
162
164
-
* The TYPE specified should be one of these values: warehouse / supplier.
165
-
* The INDEX must be a positive integer, not exceeding the total number of items.
163
+
Format: `view TYPE NAME`
166
164
167
-
**Examples**
165
+
* The TYPE specified should be one of these values: supplier or warehouse.
166
+
* The supplier/warehouse NAME specified is case-insensitive.
168
167
169
-
*`delete warehouse 1` Removes the warehouse at index 1.
170
-
*`delete supplier 12` Removes supplier at index 12 from the list of suppliers.
168
+
Examples:
171
169
172
-
### Clearing all entries : `clear`
170
+
*`view supplier supplierA` Displays all the information associated with supplierA e.g. address, contact, email, products sold by the supplier etc.
171
+
*`view warehouse warehouseB` Displays all the information associated with warehouseB e.g. address, all the products stored in the warehouse etc.
173
172
174
-
Clears all entries (Suppliers and Warehouses) from the CLI-nic.
173
+
### Update the stock for a product: `update`
175
174
176
-
Format: `clear`
175
+
* If the product does not exist for that warehouse, it will associate the new product with the warehouse and the input quantity. Otherwise, it will update the stock of the existing product with the new quantity.
*`update w/WarehouseA pd/Panadol q/10` Updates the quantity of Panadol in WarehouseA to 10. The quantity of Panadol in WarehouseA can be more than 10 or lesser than 10 before the update is done.
177
182
178
183
### Exiting the program : `exit`
179
184
@@ -187,17 +192,22 @@ CLI-nic data are saved in the hard disk automatically after any command that cha
* All the SUPPLIER_NAME/WAREHOUSE_NAME/PRODUCT_NAME must be identifiable.
205
+
* The number of arguments specified for PRODUCT_QUANTITY and PRODUCT_NAME must match.
206
+
* EXPECTED_DELIVERED_DATE must be after current time and of the form YYYY-MM-DD.
207
+
208
+
Examples:
198
209
199
-
***Examples**:
200
-
*`create sid/01 s/123 id/1 2 4 8 qty/100 200 400 800 date/2020-12-12` : Creates a purchase order for the delivery of 100, 200, 400 and 800 of products with ID 1, 2, 4 and 8 respectively from supplier ID of 01 to store ID of 123 by December 12, 2020.
210
+
*`create s/SupplierA w/WarehouseA pd/Panadol1 Panadol2 qty/100 200 date/2020-12-12` Creates a purchase order for the delivery of 100, 200 of products Panadol1 & Panadol2 respectively from SupplierA to WarehouseA by December 12, 2020.
Copy file name to clipboardExpand all lines: docs/team/qinliang.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,11 @@ Given below are my contributions to the project.
17
17
* Highlights: This command will allow for future features with regard to inventory management and sales metrics
18
18
* Credits: *{mention here if you reused any code/ideas from elsewhere or if a third-party library is heavily used in the feature so that a reader can make a more accurate judgement of how much effort went into the feature}*
Copy file name to clipboardExpand all lines: docs/team/wangZhenlin.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,9 @@ title: Wang Zhenlin's Project Portfolio Page
5
5
6
6
## Project: CLI-nic
7
7
8
-
CLI-nic is **an application to help medical supply managers keep track of medical products and storage.** It is optimized
9
-
for these managers to **update product supply conditions and access critical product information quickly** via fast typing
10
-
and efficient Graphical User Interface interaction.
11
-
It is written in Java, and has about __ kLoC.
8
+
CLI-nic is **a desktop application to help medical product sales managers keep track of medical products and storage**.
9
+
It is optimized for these managers to **update product conditions and access critical product information quickly via fast typing**.
10
+
It is written in Java, and has about 10 kLoC.
12
11
13
12
Given below are my contributions to the project.
14
13
@@ -21,7 +20,7 @@ Given below are my contributions to the project.
21
20
* Credits: {mention here if you reused any code/ideas from elsewhere or if a third-party library is heavily used in the feature so that a reader can make a more accurate judgement of how much effort went into the feature}
22
21
23
22
***Project management**:
24
-
* Managed releases `v1.3` - `v1.5rc` (_ releases) on GitHub
23
+
* Managed releases `v1.3` - `v1.5rc` (3 releases) on GitHub
25
24
26
25
***Enhancements to existing features**:
27
26
* Updated the GUI (Pull requests [\#33](), [\#34]())
@@ -47,5 +46,3 @@ Given below are my contributions to the project.
0 commit comments