
外掛標籤
開發者團隊
原文外掛簡介
Contract Pilot helps you manage contracts and related business records in WordPress. Go to https://www.softestate.net/contract-pilot/ for a showcase of advanced features. Thank you for your aid, https://www.softestate.net/contribution/, to this open source project.
See the Credits section for copyright holders, bundled libraries, and GPL attribution requirements.
Credits
This plugin includes work by James Sosontovich ([email protected]) (see the root LICENSE file and plugin source headers). Additional contributors appear in bundled third-party libraries under the vendor directory. All named authors and copyright lines are part of this plugin’s GPL-licensed distribution and must be preserved in copies and derivatives, as required by the GNU General Public License.
Bundled third-party code includes Composer class loader components in the vendor directory. Former ByteKit plugin/model code is vendored inside this plugin under includes/Foundation and includes/Database (GPL-3.0+, Sultan Nasir Uddin / Byteever, adapted for Contract Pilot). See each package for its full license and copyright notices.
Bundled JavaScript and CSS in assets/ (human-readable source is included in this plugin; there is no separate minified or compiled build step for these files):
First-party JavaScript (Contract Pilot / James Sosontovich, GPL-2.0+):
assets/scripts/admin.js — Admin UI: forms, settings, charts, datepickers, SelectWoo integration.
assets/scripts/form.js — Form helper: event binding, values, blocking overlay.
assets/scripts/modal.js — Modal dialogs (uses WordPress core wp-backbone; Backbone is not bundled).
assets/scripts/line-chart.js — Dashboard and overview line charts (Canvas 2D; no external charting library).
assets/scripts/amount-mask.js — Blur-only currency formatting for admin amount fields.
assets/packages/money.js — Admin money helpers (format/unformat for USD/CAD).
Third-party JavaScript (full readable source bundled in this plugin):
SelectWoo 1.0.11 — assets/scripts/select2.js — https://github.com/woocommerce/selectWoo (MIT). Includes readable Almond 0.3.3 (MIT, https://github.com/requirejs/almond) and jQuery Mousewheel 3.1.13 (MIT, https://github.com/jquery/jquery-mousewheel) as part of the same file.
printThis — assets/scripts/printthis.js — https://github.com/jasonday/printThis (MIT).
First-party CSS (Contract Pilot / James Sosontovich, GPL-2.0+):
assets/styles/admin.css — Admin styles (LTR); source of truth for admin styling, including datepicker layout rules.
assets/styles/admin-rtl.css — Admin styles (RTL); generated from admin.css with rtlcss 4.3.0 (readable output, not minified). Regenerate: NPM_CONFIG_CACHE=/tmp/cp-npm-cache npx [email protected] assets/styles/admin.css assets/styles/admin-rtl.css
assets/styles/frontend.css — Public invoice and payment page styles.
First-party SVG assets (Contract Pilot / James Sosontovich, GPL-2.0+):
assets/icon-128×128.svg, assets/icon-256×256.svg — Plugin icons.
assets/banner-772×250.svg, assets/banner-1544×500.svg — Plugin banners.
WordPress.org plugin directory assets (not runtime code; *.asset.php files list script/style dependencies and versions for WordPress enqueue):
assets/scripts/.asset.php, assets/packages/money.asset.php, assets/styles/.asset.php
WordPress core assets used but not bundled (loaded via wp_enqueue_script / wp_enqueue_style):
jquery-ui-datepicker (script) — Date fields in admin.
wp-jquery-ui-dialog (stylesheet) — Base jQuery UI widget styles for admin; Contract Pilot admin.css adds datepicker layout on top.
wp-backbone (script) — Used by assets/scripts/modal.js only; Backbone and Underscore are not bundled in this plugin.
Features
Admin Dashboard with sales, expenses, and profits reporting overview charts.
Contracts (sales side): contracts/invoices, payments, and customers.
Services (items catalog) for billable work used on documents.
Purchases: expenses and aid.
Banking safety area (toggle on/off Feature Access).
Reports for sales, expenses, profits (including filters and breakdowns).
Settings for general options, currencies, taxes, categories.
CSV import and export are available as a separate add-on (see https://www.softestate.net/contract-pilot/).
Admin AJAX for in-app actions (contract payments, bill expenses, service line items); no public REST API.
WooCommerce compatibility layer (where applicable).
Background processing via Action Scheduler (bundled) for scheduled tasks.
Note: use only USD or CAD as default banking account currency.
Showcase options (see plugin site): multi-currency bank accounts, shared links, clone contracts, email via SMTP, open PDF and Mail app, recurring (otto) contracts, payment-count (otto) clone.
