Company Portal User Guide
Welcome to the company's internal management portal. This system is designed to streamline order processing for the sales team and provide powerful analytics for client and sales performance.
Table of Contents
Initial Setup & Admin Login
The system is ready to use immediately. The default administrator account is pre-configured.
- Admin Username:
admin
- Admin Password:
password123
To begin, open the index.html file and log in with these credentials.
For Admins: How to Manage the System
As an Admin, you have full control over salesmen accounts, the company's item list, and all sales orders. You will be directed to the Admin Dashboard after logging in.
Creating Salesmen Accounts
This is the first and most important step to get your team onboard.
- In the Admin Dashboard, scroll down to the "Salesmen Accounts" card.
- To add users quickly (Recommended):
- Prepare a 3-column list in Excel, with no headers: FULL NAME, USERNAME, PASSWORD.
- Copy these three columns directly from your spreadsheet.
- Paste the data into the "Import Salesmen from Excel" text box.
- Click "Import & Add Salesmen". All valid, non-duplicate accounts will be created instantly.
Managing the Item List
This list is what salesmen will see when creating orders.
- In the Admin Dashboard, go to the "Item Management" card.
- To update the list, prepare a 3-column list in Excel: ITEM CODE, ITEM NAME, UNIT.
- The
UNIT
column must contain either the wordpieces
ormeters
exactly.
- The
- Copy the data from Excel and paste it into the "Import Items from Excel" text box.
- Click "Import & Replace All Items". This will completely overwrite the old list with the new one.
Reviewing & Approving Orders
When a salesman submits an order, it will appear in your "Pending Sales Orders" table.
- Click the "View/Approve" button next to any pending order. A pop-up window will show the requested items.
- You have three options for action:
- Full Approval: If all items are available as requested, simply click the green "Approve as Requested" button.
- Partial Approval: If an item is out of stock or you have less than the requested quantity, change the number in the "Approved" column. A value of
0
means the item is unavailable. After adjusting, click the blue "Submit Partial Approval" button. - Export to Excel: Before approving, you can click the "Excel" button in the main table to download a file of just that single pending order for offline review.
Exporting Order Reports
- In the Admin Dashboard, find the "Approved Orders" card.
- Click the "Export All Approved Orders to Excel" button.
- This downloads a single Excel file containing every item from every approved and partially approved order, perfect for your inventory and fulfillment teams.
For Salesmen: How to Use the Portal
As a salesman, your portal is designed for speed and clarity.
Creating a New Sales Order
- Log in with your unique username and password at index.html.
- You will be taken to your Sales Dashboard (sales_dashboard.html).
- In the "Create New Sales Order" form, click the "Add Item" button.
- Select an item from the dropdown list and enter the required quantity.
- Repeat for all items in the order. You can remove an item by clicking the 'X' button.
- Click "Submit Order". The order is now sent to the Admin for approval.
Checking Order Status & Details
- All your submitted orders are listed in the "My Orders" table.
- The "Status" column will show if your order is
Pending
,Fully Approved
, orPartially Approved
. - Click the "View/Edit" button to see the full details. If the order has been approved, you will see the "Approved" quantities. Any item with a lower approved quantity (or
0
) will be highlighted in red for immediate attention.
Editing a Pending Order
You can only edit an order while its status is "Pending".
- Click the "View/Edit" button for a pending order.
- In the pop-up window, you can change the quantities in the input fields.
- Click "Save Changes".
- The Admin will be notified that an edit has been made (the order will be marked as "Edited"). Once an order is approved, it can no longer be edited.