
外掛標籤
開發者團隊
原文外掛簡介
KantanPro turns a WordPress page into a workspace where you can manage orders, clients,
services and subcontractors in one place. Add the shortcode [ktpwp_all_tab] to any page,
and logged-in users with editing permission will see the management screen there.
Everything is stored in your own database. The plugin does not require an account,
a subscription, or a connection to any service in order to work.
Main features
Work list — list, search and filter orders by progress
Documents — create and edit quotations and invoices, and export them as PDF (single or batch)
Client management — clients, departments and contacts, with envelope address printing
Service management — your products and services with price, quantity and unit
Subcontractor management — partner companies and their skills, plus purchase-order email
Recurring contracts — recurring billing cycles, initial fees and billing history
Staff chat — internal discussion per order (send with Ctrl+Enter)
File attachments — drag and drop, multiple files, automatic cleanup
Backup — export and import your data as JSON or CSV
Consumption tax — reduced tax rates and tax categories, with a per-rate breakdown for qualified invoices
Mobile ready — tested for touch operation on iOS and Android devices
Progress tracking
Each order moves through seven stages: Rejected, Estimating, Ordered, In progress,
Completed, Invoiced and Paid. Changing the stage sets the completion date automatically,
and orders approaching their delivery date are highlighted.
PDF and printing
Quotations and invoices can be saved and printed as PDF. On desktop browsers the normal
print dialog is used; on iPad and iPhone the document is produced as a PDF file instead,
because the print dialog does not render reliably there. Invoices can also be exported
in batch, grouped by client.
A separate plugin with more features
The same author also publishes KantanProEX (WP), a separate paid plugin.
This plugin is fully functional on its own: nothing in it is locked, limited or
switched off until you buy or install anything else.
KantanProEX adds:
Sales reports — revenue and profit over time, broken down by client and by service
Publishing your services on the site and receiving applications as orders
Card payments through Stripe
Use by several staff members on the same data
Details: https://www.kantanpro.com/product/kantanpro-ex
Third-party libraries
The following MIT-licensed libraries are bundled unmodified in js/lib/
(the download sources are listed in js/lib/SOURCES.txt). They are never loaded from a CDN.
html2canvas 1.4.1 — https://github.com/niklasvh/html2canvas
jsPDF 2.5.1 — https://github.com/parallax/jsPDF
Printing and PDF output
Order documents, purchase orders, invoices and address labels are produced in the browser
rather than on the server, so that what you see on screen is what you get on paper.
On a desktop browser the document is rendered into a hidden iframe and handed to the
browser’s own print dialog.
On iPad and iPhone, and on narrow screens generally, the document is rendered to a PDF
using the bundled html2canvas and jsPDF libraries and offered as a download. The print
dialog does not give a usable result on those devices.
Each printed document is a self-contained HTML page that the browser opens on its own, with
its own @page rules and page-break handling. Its styles, and the few lines of script that
trigger the print dialog and close the window afterwards, have to travel inside that
document. wp_enqueue_style() and wp_enqueue_script() only affect the page currently
being viewed, so they cannot be used for it.
This is why some of the plugin’s inline
