1Features


- Stock by lot and expiry date, first-expiry-first-out (FEFO), low-stock and expiry alerts, stock counts, write-offs, returns to suppliers, import from Excel (CSV)
- Sales / dispensing works with barcode scanners straight away; line and bill discounts, VAT (not registered / included / added), cash, PromptPay QR, card or credit
- Custom orders e.g. glasses: SPH, CYL, AXIS, ADD, PRISM, BASE, VA and PD, frames from stock and lenses, deposit, due date
- Job status: received → ordered / lenses ordered → in progress → ready → collected When it’s ready an email goes out automatically, and there are buttons to message by LINE / SMS / WhatsApp
- Pick-up appointments Customers scan the QR code on the job ticket to see the status and balance and choose a pick-up time (set the days, times and number per slot; holidays are skipped automatically)
- Print Receipts, deposit receipts and job tickets: 80 mm receipt printers · A5 · A4 · continuous-paper dot-matrix (size set in inches)
- Customers with prescription and bill history; prescriptions, addresses and notes are encrypted
- Reports takings by payment method, best sellers, stock value, lots near expiry, CSV export
- 2 user levels: Shop staff and Shop manager (edit prices, stock counts, cancel bills, reports)
Choose Business type from 4: eye clinic / optical shop · clinic · pharmacy · shop / services. Job types, product fields (e.g. brand / model / colour / frame size, or generic name / strength / FDA drug class) and the prescription form adjust to match.
2Getting started
- Set up the shop
Shop › Settings Enter the shop name, address, tax ID and logo, choose the business type, VAT and PromptPay (mobile number or 13-digit ID), then scan the 1-baht test QR to check the account name
- Set up printing
In the tab Printing Choose the receipt and job ticket formats. For dot-matrix printers, enter the continuous paper size, e.g. 9 × 5.5 inches, and set the same size in the printer driver.

Printing tab - Add products
Shop › Stock Click Add products one at a time or import a CSV from Excel. For items ordered per job (e.g. lab lenses) or service fees choose the type Service / ordered per job so stock isn’t deducted

Product page: stock by lot, counts and movements - Receive stock
Receive stock Scan or search for the product, enter quantity, lot, expiry date and cost; a goods receipt (GR) number is issued

Receive stock - Create the job tracking page
Create a page, e.g. "Track your order", with the block Order tracking or
[idev_job_status]and select this page in Settings › Tracking and pick-ups along with the pick-up days and times - Create staff accounts
Users › Add New Choose the role Shop staff or Shop manager
3Custom orders and pick-ups (e.g. glasses)
- Take an order
Shop › Custom orders › New order Choose the customer (or add one), enter the prescription, add frames and lenses, enter the deposit and click Save and print job ticket

New order form - Give the customer the job ticket
The job ticket shows the prescription, items, deposit, balance and a QR code for tracking

A5 job ticket 
80 mm receipt - Update the status
Click → ordered / lenses ordered → in progress → ready When it’s ready an email is sent, and there are buttons to message by LINE / SMS / WhatsApp

Job page: status, prescription, payments, pick-up and customer messages - The customer books a pick-up time
Customers scan the QR code or tap the link in the message, see the status and balance and choose a day and time. Staff see it on Today › Pick-ups today

Customer tracking page 
On a phone - Hand over
On the day, open the job and click Take the balance and hand over A receipt is issued and the job is closed
4Supported printers
| Format | Ideal for |
|---|---|
| 80 mm receipt printer | Shop counters, pharmacies (thermal) |
| A5 / A4 | Glasses job tickets, full receipts, laser / inkjet printers |
| Continuous paper | Dot-matrix, e.g. Epson LQ-590, with carbon copies; width × height set in inches in the settings |

The print page has format buttons at the top and prints through the browser’s print dialog, so it works with any printer installed on the computer. Set the paper size and margins in the print dialog to match the printer (turn off "Headers and footers").
5Pharmacies: drug labels and Kor.Yor. registers
Set Business type = Pharmacy adds the product fields Drug data and label: generic name, strength, dosage form, drug class (FDA) tick Kor.Yor. 13 report registration number, manufacturer / importer, pack size, default directions, indications and warnings (clinics can use drug labels too)

| Drug class | Register |
|---|---|
| Household medicines / dangerous drugs | Kor.Yor. 9 (purchases) · Kor.Yor. 12 when sold on prescription |
| Dangerous drugs on the Kor.Yor. 11 list (e.g. tramadol, dextromethorphan, antihistamine syrups) | Kor.Yor. 11, one sheet per drug and lot · buyer’s name required |
| Specially controlled drugs | Kor.Yor. 10, one sheet per drug and lot · buyer’s name required |
| Tick "Kor.Yor. 13 report" | Kor.Yor. 13: brought forward, received, sold, balance, for Jan–Apr / May–Aug / Sep–Dec |
- Sell and write directions
On the sales screen each drug shows its class label and 💊 Directions (from the default directions). Click to edit or use the helper: take / apply / eye drops… dose… unit, … times a day, before / after meals, morning, noon, evening, bedtime, then click Insert

Pharmacy sales screen: directions per item and the buyer / prescription box - Buyer / prescription details
For specially controlled drugs or drugs on the Kor.Yor. 11 list, the buyer’s name is required (age and address optional). When selling on prescription, tick Sold on prescription (Kor.Yor. 12) and enter the prescriber’s name and workplace. This data is encrypted in the database
- Print drug labels
Save the bill and click Print drug labels for one label per item with the shop name and phone, patient name, date dispensed, generic name, strength, form, quantity, directions, indications, warnings, the expiry date of the lot actually used and the pharmacist’s name, following the 2022 Ministry of Public Health notification on drug labels. Works with label stickers (size in mm) or 80 mm receipt printers

80 × 50 mm drug label 
Bill page: buyer details, edit directions and reprint labels per item - Kor.Yor. registers
Shop › Reports › Kor.Yor. registers Choose the register and dates, view on screen, print on landscape A4 with the form’s column headings, or download a CSV. The pharmacist signs in the space provided.

Kor.Yor. 11, one sheet per drug and lot 
Kor.Yor. 12, sales on prescription 
Kor.Yor. 13, report every 4 months
Enter the pharmacist on duty licence number and the pharmacy licence number in Shop › Settings ; the label size is in the tab Printing · drug labels work in both I-Clinic and I-Drug, while the Kor.Yor. 9–13 registers are in I-Drug (all available during the trial) · check the format your provincial health office requires before real use
6Daily work and reports


- Bills: history, collect outstanding payments, reprint, and cancel bills (managers), which returns the items to their original lots
- Customers: job history with every prescription, and all bills
- Stock: every change is recorded in a movement log with the balance and can’t be edited afterwards
7Blocks and shortcodes
| Shortcode | What it does |
|---|---|
[idev_job_status] | Tracking and pick-up page (block Order tracking) opened from the QR code or with the job number + last 4 digits of the phone number |
For developers
| Hook | When |
|---|---|
idev_store_bill_created | A new bill is saved |
idev_store_bill_voided | A bill is cancelled |
idev_store_job_created | New order |
idev_store_job_status | Job status changes ($id, $new, $old) |
8Troubleshooting
Can’t sell: "not enough in stock"
Receive the stock first, or turn on Allow selling beyond stock in the settings (the balance goes negative until stock arrives). For items that don’t use stock, set them to Service / ordered per job
The bank app rejects the PromptPay QR
Check the PromptPay number in the settings (10-digit phone or 13-digit ID) and use the 1-baht test QR there. Payments are not checked automatically; staff must see the payment in the bank app before saving.
Dot-matrix printing shifts or starts a new page
Set the paper size in the driver (Printing Preferences → Paper Size → Custom) to match the plugin setting, and set Margins to None / Minimum in the browser’s print dialog