LCPL FEEDSTOCK DASHBOARD

Administrator Guide · data entry & system admin
Admin access
1. Introduction & purpose

This guide is for Administrators of the LCPL Feedstock Dashboard — the team members responsible for keeping daily, weekly, stock, shipment, and forecast data accurate and up to date. It covers everything needed to log in, navigate the Data Entry Console, add and maintain records in each of the six data-entry forms, and keep the system secure.

Administrators have full read/write access to the underlying dataset. Regular dashboard viewers cannot see or use any of the functions described in this guide. Please handle admin credentials responsibly — see Section 9 (Security Recommendations).
2. Accessing the Admin Console
  1. On the main dashboard, click Admin Login in the top-right of the header.
  2. Enter your Username and Password in the sign-in dialog.
  3. Click Sign In (or press Enter).
  4. If the credentials are correct, the dashboard header will display an ADMIN badge, and the Data Entry Console will open automatically.
  5. If the credentials are incorrect, an "Invalid username or password" message appears — re-enter your details and try again.
The factory-default credentials shipped with this system are username admin / password admin123. These MUST be changed by your IT/development team before the dashboard is used in a live environment — see Section 9.

Press Esc at any time to close the login dialog without signing in.

3. Data Entry Console layout

Once signed in, you land in the Data Entry Console — a dedicated full-page workspace separate from the public dashboard.

Filter forms search boxType keywords to quickly filter/find a form in the sidebar list.
User Guide (sidebar)Opens an in-app quick-reference guide summarising every form — useful as a refresher while you work.
Data Entry navigation listSix forms: Daily Report, Weekly Average, PX/AA/PTA Stocks, PX Ship Arrivals, AA Ship Arrivals, PCI Forecast.
From the public dashboard, admins can return to this console at any time using the "Back to Admin Panel" button that appears in the header once logged in.
4. Data Entry Forms

4.1 Daily Report Entry Core form

Captures the daily price snapshot that powers the Daily Report KPI cards on the dashboard.

DateRequired
Crude Oil (WTI) $/bblOptional
PX (NE Asia) $/tonRequired
PTA (CFR China) $/tonRequired
Acetic Acid $/tonOptional
The PTA Spread is calculated automatically from PTA and PX — you do not need to enter it manually.
  1. Select the Date using the date picker.
  2. Enter the Crude Oil price (optional).
  3. Enter the PX price (required).
  4. Enter the PTA price (required).
  5. Enter the Acetic Acid price (optional).
  6. Click Save Daily to store the entry.

To correct a mistake, find the row in the table below the form, click Edit, adjust the values, and click Update. To remove an entry entirely, click Delete.

4.2 Weekly Average Entry Core form

Records the weekly average price used for monthly average calculations and the Weekly Report on the dashboard.

Week DateRequired
Avg Crude Oil ($/bbl)Required
Avg PX ($/ton)Required
Avg PTA ($/ton)Required
Avg Acetic Acid ($/ton)Required
  1. Select the Week Date (typically the Monday of the week).
  2. Enter the average Crude Oil price.
  3. Enter the average PX price.
  4. Enter the average PTA price.
  5. Enter the average Acetic Acid price.
  6. Click Add Weekly to save.

Existing weekly rows can be edited or deleted the same way as Daily Report entries, using the Edit and Delete buttons in the table.

4.3 PX, AA & PTA Stocks Entry Inventory

Tracks tank/warehouse inventory levels that appear in the Stock Report section of the dashboard.

DateRequired
PX Stock (MT)Optional
AA Stock (MT)Optional
PTA Stock (MT)Optional
Date is required, and while each stock value is individually optional, at least one figure should be entered per record for it to be meaningful.
  1. Select the Date for the stock record.
  2. Enter the PX Stock in Metric Tons.
  3. Enter the AA Stock in Metric Tons.
  4. Enter the PTA Stock in Metric Tons.
  5. Click Add Stock to save.

4.4 PX Ship Arrivals Entry Logistics

Manages incoming Paraxylene shipments — contract type, source and quantity — shown in the PX Ship Arrivals table on the dashboard.

Arrival DateRequired
Contract TypeTERM or SPOT
Sourcee.g. Kuwait, Oman, Taiwan
Quantity (MT)Required
  1. Select the Arrival Date.
  2. Choose the Contract Type (TERM or SPOT).
  3. Enter the Source (e.g. Kuwait, Oman, Taiwan).
  4. Enter the Quantity in Metric Tons.
  5. Click Add Shipment to save.

4.5 AA Ship Arrivals Entry Chemical

Manages Acetic Acid shipment arrivals and pricing data together, feeding the Acetic Acid Ship Arrivals table and the AA price series.

Ship DateRequired
Type (Spot / Term)Required
OriginRequired
Quantity (MTs)Required
— Price sub-form —
DateRequired
Price ($/ton)Required
This form has two independent sub-sections — Shipments and Prices — and the Monthly Average price is calculated automatically from the price history you enter.
  1. Shipments: fill in Ship Date, Type (Spot/Term), Origin, and Quantity, then click Add Shipment.
  2. Prices: fill in Date and Price, then click Add Price.
  3. Shipment status (IN TRANSIT / Arrived) can be updated directly from the record table — see Section 5.3.

4.6 PCI Forecast Entry Forecast

Updates the Wood Mackenzie PCI Forecast values that drive the forecast chart at the bottom of the Monthly Report.

MonthRequired
Forecast PX ($/MT)Required
Forecast PTA ($/MT)Required
  1. Select the Month from the dropdown.
  2. Enter the Forecast PX price.
  3. Enter the Forecast PTA price.
  4. Click Add Forecast to save.
5. Managing existing records

5.1 Editing a Record

Every data table beneath a form includes an Edit button on each row. Click it to load that record's values back into the form fields above, make your corrections, and click the form's Update button to save the change.

5.2 Deleting a Record

Click the Delete button on any row to permanently remove that record. There is no undo — double-check the row before confirming.

5.3 Updating Shipment Status

Both PX Ship Arrivals and AA Ship Arrivals tables display a status badge for each shipment:

IN TRANSITAmber. Default status for a newly added shipment — it has not yet arrived.
ArrivedGreen. Marked once the cargo has been received and confirmed.

Use the action button next to a shipment's status badge to toggle it between IN TRANSIT and Arrived as the shipment progresses. This updates the badge shown on the public dashboard's Ship Arrival tables in real time.

6. Data Saving, Sync & Backend

All data entered in the console is sent to the server-side api.php endpoint, which persists it centrally so every user viewing the dashboard sees the same, up-to-date figures.

Every Save / Add / Update / Delete action triggers an automatic save to the backend — there is no separate "publish" step. The dashboard also keeps a local "Last Updated On" timestamp (stored in the browser's local storage) so users can see at a glance how fresh the data is. When you click Back to Dashboard, the console automatically refreshes the Daily Report, Weekly Report and Monthly Report views so your latest changes are immediately visible.

Because saving happens automatically and immediately, always double-check values before clicking Save/Add/Update — especially Delete actions, which cannot be undone.
7. Exporting PDF Reports as an Admin

Administrators can generate the same PDF export available to regular viewers by returning to the dashboard (Back to Dashboard) and clicking Export PDF in the header. This is useful for producing a dated record of the dashboard immediately after finishing a batch of data entry.

8. Keyboard Shortcuts
EnterSubmit the active form / confirm login
EscClose the current modal or cancel an action
Ctrl + SSave the currently focused entry
9. Security Recommendations
The dashboard currently ships with a single, hard-coded administrator account (admin / admin123) defined directly in the page's client-side code. Anyone who can view the page source can see these credentials. Treat this as a placeholder only.
10. Data Entry Best Practices
11. Troubleshooting

"Invalid username or password" on login
Double-check for extra spaces or Caps Lock. If you still cannot sign in, confirm the current credentials with your system administrator, as they may have been changed from the default.

A saved entry doesn't appear on the dashboard
Return to the dashboard using Back to Dashboard rather than a browser refresh, so the app can pull the latest saved data. If the issue persists, check your network connection, since saves are sent to the api.php backend.

PDF export is blank or missing charts
Make sure the relevant sections are expanded before exporting, and allow a few seconds for the "Generating PDF Report..." process to complete before closing the tab.

Wrong data displayed after selecting a date
Confirm you're using the Daily Report date picker (for daily figures) versus the Monthly Report's Year/Month filters (for monthly figures) — they control different sections of the dashboard independently.

12. Appendix — Full Field Reference
Daily ReportDate*, Crude Oil ($/bbl), PX ($/ton)*, PTA ($/ton)*, Acetic Acid ($/ton)
Weekly AverageWeek Date*, Avg Crude Oil*, Avg PX*, Avg PTA*, Avg Acetic Acid*
PX/AA/PTA StocksDate*, PX Stock (MT), AA Stock (MT), PTA Stock (MT)
PX Ship ArrivalsArrival Date*, Contract Type*, Source*, Qty (MT)*
AA Ship ArrivalsShip Date*, Type*, Origin*, Quantity (MTs)* — plus Price entries: Date*, Price ($/ton)*
PCI ForecastMonth*, Forecast PX ($/MT)*, Forecast PTA ($/MT)*

* Required field