Release Notes & Changelog
Track official release notes, new features, improvements, and fixes for Keystone Accounting Lite and Addon Modules.
Keystone Online Store Addon v1.0.0 (DB Schema v1) — Official initial production release. Transforms Keystone Accounting Lite into a complete, self-hosted E-Commerce Online Store while keeping 100% real-time ledger synchronization with your core Customers, Inventory, SARS Tax Invoices, and Payments.
1. Public E-Commerce Storefront
- Automatic Storefront Routing (
/&/store/index): Seamlessly switches the public frontend into an online store when the addon is licensed, enabled, and online, with an instant 1-click Storefront Online / Maintenance toggle. - Global Site Settings Inheritance: Automatically inherits company branding, light/dark logos, favicon, primary brand color, currency symbol, SARS VAT rate, and banking details directly from Global Site Settings with zero duplication.
- Catalog Discovery & Product Pages: Includes customizable hero banner, live keyword search, category filter pills, sorting (Featured, Price Low–High, Price High–Low, Newest, Name A–Z), compare-at strike-through pricing, and real-time stock badges.
2. Interactive Shopping Cart & Checkout
- Session & AJAX Shopping Cart (
/cart): Add, update quantities, or remove items with automatic stock boundary checks againstinventory_items.stock_quantityand backorder rules. - Dynamic Shipping & VAT Calculation: Real-time calculation of Subtotal, VAT, Flat-Rate Courier Delivery, Free Shipping threshold progress bar, and In-Store / Warehouse Pickup option.
- Guest & Registered Client Checkout: Automatically matches or provisions customer records in the core
clientstable and provides token-protected order tracking (/store/order/{order_number}).
3. Built-In Payment Gateways (6 Gateways Included)
- Manual EFT / Bank Deposit: Displays company banking details from Global Site Settings and allows customers to upload Proof of Payment (PDF, JPG, PNG) directly on their Order Status page.
- Cash / Card on Collection: Supports payment upon warehouse collection or local delivery.
- PayFast Integration: South African hosted checkout with Sandbox/Live mode, MD5 signature verification, and instant ITN webhook reconciliation (
/Webhook/payfast). - Yoco, Paystack & Ozow: Ready-to-enable online card and instant EFT payment gateway integrations with automated callback endpoints.
4. Real-Time Keystone Accounting Lite Synchronization
- Automated SARS Tax Invoices: Every checkout automatically generates a linked core Tax Invoice (
INV-XXXXXX) in theinvoicesandinvoice_itemstables. - Inventory & WAC Stock Deduction: Deducts sold quantities from
inventory_items.stock_quantityupon order confirmation. - Automated Payment Ledger Posting: When an online gateway webhook confirms payment or an admin approves a Proof of Payment, the addon automatically posts the payment to the core
paymentsledger and marks the linked Tax Invoice asPaid.
5. Store Administration Suite & Modular Addon Engine
- Store Command Center (
/StoreAdmin/index): Real-time KPIs for Store Revenue, Total Orders, Pending Fulfillment, and Published Products. - Order & Fulfillment Manager (
/StoreAdmin/orders): Manage order lifecycle statuses (Pending,Processing,Packed,Shipped,Completed,Cancelled), courier tracking numbers, and POP verification. - Catalog & Pricing Manager (
/StoreAdmin/catalog): 1-click toggle to publish/unpublish inventory items, upload product images, and set optional online-only prices or featured badges. - Independent OTA Updates & Incremental DB Migrations: Supports independent addon version checks and 1-click OTA updates via
https://keystonelite.co.za, automatic execution of numbered store database migrations (addons/store/migrations/00X_*.sql), and clean uninstallation back to standard Keystone Accounting Lite.
Keystone Accounting Lite — Release Changelog (v2.0.3)
Release Date: October 26, 2026
Database Schema Version: v3.1 (3-Layer Tamper Guard • Rich Instance Telemetry • Addon Lifecycle Engine)
Minimum PHP Version: PHP 8.1+ (Tested on PHP 8.2 / 8.3)
Official Website & License Server: https://keystonelite.co.za
Engineered By: Christo Lochenberg Developments
Executive Summary
Keystone Accounting Lite v2.0.3 is a security, telemetry, and UX hardening release. It introduces 3-Layer Cryptographic Tamper Protection & Remote Lockdown Enforcement across both the Core Accounting Application (KAL) and Modular Addons (KLS), seals all local license caches with daily HMAC-SHA256 integrity signatures, adds deep business & environment telemetry reporting (linking Addon installations to their host Base License Key), fixes addon auto-activation on installation, and unifies all activation, lockdown, and installer screens under the official Keystone Green (#4aa651) brand identity and https://keystonelite.co.za portal links.
1. 3-Layer Tamper Protection, HMAC Cache Sealing & Remote Lockdowns (Core & Addons)
- HMAC-SHA256 Sealed License Caches (
AppClient.php&AddonManager.php): Both the Base Application cache (cache/license.json) and Addon Module caches (cache/addon_{slug}_license.json) are now cryptographically signed with a daily HMAC-SHA256_integrity_sealbound to the license key, domain, status, core PDO driver payload, and date. Any manual editing of cache files on disk is automatically detected, purged, and re-verified against the license server. - Rapid Remote Suspension & Lockdown Enforcement: Reduced license verification cache TTL to 5 minutes (
300s) with instant bypass support (?force_license_check=1). Whenever the Keystone License Server returns a non-active status (suspended,expired,pending,invalid,DOMAIN_MISMATCH, orPRODUCT_KEY_MISMATCH), local cache files are immediately deleted and the instance or addon locks down on the spot. - Hardened Core Layer 1, Layer 2 & Layer 3 Guards:
- Layer 1 (
license_check.php): Verifies that the remote server returned a non-empty cryptographiccore_logicdatabase driver payload (SEC_TAMPER_0x1_LOGIC) before definingKEYSTONE_CORE_SECUREandKEYSTONE_DB_DRIVER. - Layer 2 (
index.php&BaseController.php): Enforces physical existence oflicense_check.phpand validates the dailyKEYSTONE_CORE_SECUREtoken in the front controller before any route or controller is dispatched (SEC_TAMPER_0x1/SEC_TAMPER_0x2). - Layer 3 (
app/config/database.php): ValidatesKEYSTONE_CORE_SECUREand dynamically evaluatesKEYSTONE_DB_DRIVERbefore any PDO connection can be instantiated (SEC_TAMPER_0x3).
- Layer 1 (
- 3-Layer Addon Runtime Guard (
AddonManager::enforceAddonGuard()): Introduced runtime cryptographic tokens (KEYSTONE_ADDON_GUARD_{SLUG}) verified at the Router (index.php), Controller constructor (BaseController::__construct()), and Model layer (StoreModel::__construct()). Direct requests to an addon route when its license is suspended, expired, pending payment, or disabled now render a dedicated Keystone Addon Security Lockdown Screen instead of a generic missing controller error.
2. Rich Instance, Company & Linked-Module Telemetry
- Comprehensive Business & Entity Telemetry (
AppClient::collectInstanceTelemetry()&AddonManager::collectAddonTelemetry()): Upgraded call-home verification and OTA check payloads to report detailed, real-time instance metrics to the Keystone License Server:- Company Profile: Company Name, Email, Phone, Physical Address, VAT Registration Status, VAT Number, Currency (
ZAR), and Database Schema Version. - Live Ledger & Entity Totals: Total Customers, Suppliers/Vendors, Inventory Products, Tax Invoices, Quotes, Credit Notes, Purchase Orders, Expenses, Payments, Active Staff Users, and Online Store Orders.
- Base-to-Addon License Linking: Addon modules automatically report their host installation's Base License Key (
KAL-...) and Base App Version alongside their Addon License Key (KLS-...). - Environment Diagnostics: Server IP, Site URL, PHP Version, MySQL/MariaDB Version, OS Architecture, Web Server Software, Timezone, and Installed Addons summary.
- Company Profile: Company Name, Email, Phone, Physical Address, VAT Registration Status, VAT Number, Currency (
3. Keystone Branded Error/Lockdown Screens & Portal Link Unification
- Keystone Green (
#4aa651) Branded Security & Activation UI: Redesigned all activation, remote suspension, license expiry, and tamper lockdown screens inlicense_check.php,app/config/database.php,app/controllers/BaseController.php, andapp/libraries/AddonManager.phpwith Keystone's signature green theme, glassmorphic cards, and automatic dark/light mode adaptation. - Specific Lockdown Diagnostics: Added clear, context-aware status headers and diagnostic badges for Remote License Lockdown — Suspended, Software License Expired, License Pending Payment / Approval, and Domain Mismatch.
- Unified
keystonelite.co.zaLinks Across Installer & App: Removed all legacyRC_LICENSEandlicense.christodev.co.zareferences across the installation wizard (install/index.php), top navigation bar, admin settings, and error screens, pointing all license requests, addon purchases, and support actions directly to https://keystonelite.co.za.
4. Addon Manager Installation & Activation Fixes
- Automatic Enablement on Install & License Activation: Fixed an issue where newly installed addons or addons with a newly validated license key appeared as Disabled until manually toggled.
AddonManager::installAddonFromZip()andAddonManager::saveAddonLicenseKey()now automatically enable the addon, run any pending SQL migrations, and verify database schema readiness immediately upon license validation.
5. Versioning & Release Housekeeping
- Version Bump: Incremented core platform version from
v2.0.2tov2.0.3inversion.php.
Keystone Online Store Addon v1.0.0 (DB Schema v1) — Official initial production release. Transforms Keystone Accounting Lite into a complete, self-hosted E-Commerce Online Store while keeping 100% real-time ledger synchronization with your core Customers, Inventory, SARS Tax Invoices, and Payments.
1. Public E-Commerce Storefront
- Automatic Storefront Routing (
/&/store/index): Seamlessly switches the public frontend into an online store when the addon is licensed, enabled, and online, with an instant 1-click Storefront Online / Maintenance toggle. - Global Site Settings Inheritance: Automatically inherits company branding, light/dark logos, favicon, primary brand color, currency symbol, SARS VAT rate, and banking details directly from Global Site Settings with zero duplication.
- Catalog Discovery & Product Pages: Includes customizable hero banner, live keyword search, category filter pills, sorting (Featured, Price Low–High, Price High–Low, Newest, Name A–Z), compare-at strike-through pricing, and real-time stock badges.
2. Interactive Shopping Cart & Checkout
- Session & AJAX Shopping Cart (
/cart): Add, update quantities, or remove items with automatic stock boundary checks againstinventory_items.stock_quantityand backorder rules. - Dynamic Shipping & VAT Calculation: Real-time calculation of Subtotal, VAT, Flat-Rate Courier Delivery, Free Shipping threshold progress bar, and In-Store / Warehouse Pickup option.
- Guest & Registered Client Checkout: Automatically matches or provisions customer records in the core
clientstable and provides token-protected order tracking (/store/order/{order_number}).
3. Built-In Payment Gateways (6 Gateways Included)
- Manual EFT / Bank Deposit: Displays company banking details from Global Site Settings and allows customers to upload Proof of Payment (PDF, JPG, PNG) directly on their Order Status page.
- Cash / Card on Collection: Supports payment upon warehouse collection or local delivery.
- PayFast Integration: South African hosted checkout with Sandbox/Live mode, MD5 signature verification, and instant ITN webhook reconciliation (
/Webhook/payfast). - Yoco, Paystack & Ozow: Ready-to-enable online card and instant EFT payment gateway integrations with automated callback endpoints.
4. Real-Time Keystone Accounting Lite Synchronization
- Automated SARS Tax Invoices: Every checkout automatically generates a linked core Tax Invoice (
INV-XXXXXX) in theinvoicesandinvoice_itemstables. - Inventory & WAC Stock Deduction: Deducts sold quantities from
inventory_items.stock_quantityupon order confirmation. - Automated Payment Ledger Posting: When an online gateway webhook confirms payment or an admin approves a Proof of Payment, the addon automatically posts the payment to the core
paymentsledger and marks the linked Tax Invoice asPaid.
5. Store Administration Suite & Modular Addon Engine
- Store Command Center (
/StoreAdmin/index): Real-time KPIs for Store Revenue, Total Orders, Pending Fulfillment, and Published Products. - Order & Fulfillment Manager (
/StoreAdmin/orders): Manage order lifecycle statuses (Pending,Processing,Packed,Shipped,Completed,Cancelled), courier tracking numbers, and POP verification. - Catalog & Pricing Manager (
/StoreAdmin/catalog): 1-click toggle to publish/unpublish inventory items, upload product images, and set optional online-only prices or featured badges. - Independent OTA Updates & Incremental DB Migrations: Supports independent addon version checks and 1-click OTA updates via
https://keystonelite.co.za, automatic execution of numbered store database migrations (addons/store/migrations/00X_*.sql), and clean uninstallation back to standard Keystone Accounting Lite.
Keystone Accounting Lite — Release Changelog (v2.0.2)
Release Date: October 25, 2026
Database Schema Version: v3.1 (Modular Addon Architecture • Unified Licensing Engine)
Minimum PHP Version: PHP 8.1+ (Tested on PHP 8.2)
Official Website & License Server: https://keystonelite.co.za
Engineered By: Christo Lochenberg Developments
Executive Summary
Keystone Accounting Lite v2.0.2 introduces the Modular Addon & Extension Engine (AddonManager), enabling independent modules (such as the Keystone Online Store Addon) to be installed, licensed, updated Over-The-Air (OTA), and cleanly uninstalled without modifying core accounting files. This release also migrates all core and addon license verification, OTA update checks, and release broadcasts exclusively to the unified Keystone License & Addon Server (https://keystonelite.co.za).
1. Modular Addon & Extension Engine (AddonManager)
A zero-coupling plugin architecture that allows Keystone Accounting Lite to be extended with independent modules while preserving 100% compatibility with standard core updates:
- Self-Contained Addon Discovery (
/addons/{slug}/addon.json): Automatically discovers installed addons, reads their manifest metadata (name,version,db_version,product_code,default_controller,admin_url,storefront_url), and tracks runtime state inaddons/{slug}/state.json. - Dynamic Front Controller & Route Resolution: Allows an active, licensed addon to override the default root landing controller (for example, transforming
/into an E-Commerce Storefront when the Online Store Addon is online, while falling back to the standard accounting portal if the store is placed in maintenance mode or disabled). - Dynamic Sidebar & Client Portal Navigation Injection: Automatically renders addon navigation items inside the Admin Sidebar and Client Portal Sidebar only when the addon is installed, licensed, and enabled.
- 1-Click ZIP Installation & Clean Uninstallation (
Admin Settings > Addons & Modules): Administrators can upload an official addon.zippackage, toggle an addon between Enabled and Disabled (Paused), or click Uninstall Addon & Revert to Lite to cleanly revert to standard Keystone Accounting Lite while keeping all core Customers, Tax Invoices, and Payments intact.
2. Independent Addon Versioning & Over-The-Air (OTA) Updates
- Dedicated Addon Version Numbers: Each addon tracks its own independent version number (
addon.jsonandaddons/{slug}/version.php) separate from the core Keystone Accounting Lite version (v2.0.2). - Unified System Updates Dashboard (
admin/settings#updates): Upgraded the System Updates tab and the global top alert ribbon to display available OTA updates for both the Core Application and any Licensed Addons, complete with 1-click addon update installation.
3. Automated Incremental Addon Database Migrations
- Numbered Addon Migration Runner: Supports incremental SQL migration scripts inside
/addons/{slug}/migrations/00X_*.sql, tracking the schema version in both the database andstate.json. - Automatic Execution on OTA & Boot: Pending addon database migrations run automatically during 1-click Addon OTA Updates as well as on storefront/admin boot if an addon is updated manually via ZIP or FTP.
4. Unified Keystone License & Addon Server (https://keystonelite.co.za)
- Exclusive Licensing & OTA Endpoint: Migrated all Base (
KAL-...) and Addon (KLS-...) license validations (/Api/verify), OTA update checks (/UpdateApi/check), and release broadcasts (/NewsApi/feed) exclusively tohttps://keystonelite.co.za. - Direct Addon Store Integration: Added quick-access links in
Admin Settings > Addons & Modulesto purchase addon licenses and download official addon packages directly fromhttps://keystonelite.co.za/portal/request?tab=addons.
5. Versioning & Release Housekeeping
- Version Bump: Incremented core platform version to
v2.0.2inversion.php.
Keystone Accounting Lite — Release Changelog (v2.0.1)
Release Date: October 22, 2026
Database Schema Version: v3.1 (Demo Isolation • Telemetry Enhancements)
Minimum PHP Version: PHP 8.1+ (Tested on PHP 8.2)
Official Website: https://keystonelite.co.za
Engineered By: Christo Lochenberg Developments
Executive Summary
Keystone Accounting Lite v2.0.1 introduces an interactive, sandboxed Demo Mode with 1-Click Auto-Login, a persistent application-wide OTA Update Notification Banner, seamless Website Changelog Synchronization directly from the official web portal, a modern Accordion Layout for system announcements, and critical Apache URL resolution fixes for media and logo paths.
1. Sandboxed Interactive Demo Mode & 1-Click Auto-Login
Designed for public software evaluation and live client demonstrations while safeguarding the primary administrator credentials and configuration state:
- Admin System Settings Switch: Added a toggle switch in
Admin Settings > Systemto enable or disable public Demo Mode, accompanied by a dynamic user selector dropdown that strictly excludes the Primary Super Admin (id = 1) to prevent root credentials from ever being exposed. - Dedicated Demo Administrator Account: Provisioned a dedicated Demo Admin account (
demo@keystonelite.co.za/Demo@2026!, ID2, Roleadmin) with full visibility across all 20 modules. - 1-Click Auto-Login Card: Injected an interactive glassmorphic demo card onto the login screen displaying the live demo email and visible password, complete with a 1-click “Demo Access / Instant Login” button that auto-populates credentials and authenticates automatically.
- Deep Security Sandbox & Read-Only Protection: Implemented
isDemoSession()detection blocking all state-mutating HTTPPOSTrequests and sensitive administrative tools (OTA updates, cache clearing, staff impersonation, user deletion, diagnostics, test emails, and cron runs). Sensitive credentials (SMTP passwords, cron secret keys, license keys) are automatically masked with bullets in all views.
2. Global Over-The-Air (OTA) Update Notification Banner
- Application-Wide Alert Ribbon: Added a top-level alert banner across all application views that dynamically appears whenever an Over-The-Air software update is detected by the licensing client, displaying the new version number, release date, and a direct link to the updates view.
- Automatic Tab Activation: Enhanced the Admin Settings view with a URL hash listener (
hashchange) that automatically expands and activates the System Updates (#updates) tab when navigating from the notification banner.
3. Official Website Changelog Synchronization Engine
- Direct Live Changelog Parsing: Upgraded
AppClient::getNews()to directly fetch and parse official release notes fromhttps://keystonelite.co.za/pages/changelog, merging them with central licensing server broadcast feeds and eliminating release note delay. - Schema Versioning & Deduplication: Implemented smart version deduplication and added schema validation (
feed_schema_version ≥ 2) with cache refresh support (?refresh_cache=1).
4. Accordion Layout for Developer News & Announcements
- Folded-by-Default Accordion: Refactored the Developer News & Announcements tab (
admin/settings#news) into a responsive Bootstrap 5 accordion where all release notes and broadcasts are folded up (collapsed) by default. - Rich Header Telemetry: Accordion headers display version badges (
v2.0.1,v2.0.0), release categories (Feature, Improvement, Fix, Security, Global Broadcast), Latest Build badges, and formatted release dates. - Master Expand/Collapse Toggle: Added a master “Expand All / Collapse All” toggle button alongside category filter pills (All, Product Releases, Global Broadcasts).
5. Apache Double-URL Prefix & Media Resolution Fix
- Absolute URL Normalization: Resolved an Apache pathing issue (
AH00127: Cannot map GET /http://...) caused by double-prependingBASE_URLto media items already stored as fully-qualified URLs. AddedSettingsModel::normalizeMediaUrl()and patched the globalurl()helper with protocol detection.
6. Official Landing Showcase Hardening & Free Edition Link
- Brand Immutability: Hard-coded the authentication showcase panel on the login screen to preserve the official Keystone Accounting Lite identity, preventing white-label customizations from altering the core identity.
- 100% Free Edition Badge: Added prominent messaging noting the system is 100% Free with a verified backlink to https://keystonelite.co.za.
7. Database Migrations & Versioning
- Schema v3.1 Upgrades: Updated
install/scheme.sql,migrations/003_inventory_tracking.sql, andinstall/index.phpwith demo mode columns (enable_demo_mode,demo_user_id,demo_email,demo_passwordonsettings, andplain_passwordonusers). - Version Bump: Incremented core platform version to
v2.0.1
Keystone Accounting Lite — Release Changelog (v.2.0.0)
Release Date: October 20, 2026
Database Schema Version: v3 (28 Core Tables • 14 System Email Templates)
Minimum PHP Version: PHP 8.1+ (Tested on PHP 8.2)
Official Website: https://keystonelite.co.za
Engineered By: Christo Lochenberg Developments
Executive Summary
Keystone Accounting Lite v1.2.0 is a landmark architectural, visual, and financial-engine release. Every single view (82 views across 20 modules), PDF document template, Excel export engine, email template, system manual, and installation/upgrade wizard has been unified under the Executive Command Center design system with full Light/Dark mode parity, while the underlying SQL financial and inventory engines have been audited for 0.0000 mathematical reconciliation across all ledgers.
1. Complete UI/UX Redesign — Executive Command Center (82 Views)
All 82 view files across the application have been refactored into the Executive Command Center aesthetic featuring command headers, 4-card Bento KPI summary decks, glassmorphic status badges, tabular monospace currency figures, and 100% Light/Dark theme reactivity:
- Executive Financial Dashboard: Period preset filter bar (This Month, Last Month, This Quarter, This Financial Year, All Time, and Custom Date Range), real-time KPI cards for Net Revenue (Excl. VAT), Cost of Sales (COGS), Operating Expenses, Net Profit & Margin %, Outstanding Receivables, and Closing Stock Valuation, plus interactive 12-month Revenue vs. Expense and Recurring Revenue projection charts.
- Customers & 360° CRM Workspace: Directory with live balance indicators, corporate/individual profile studio, 360° Customer Profile workspace with tabbed Invoices, Quotes, Credit Notes, Payments, Portal Access control, and interactive Statement of Account generator with 6-bucket Age Analysis.
- Tax Invoices & Recurring Billing Studio: Split-pane Invoice Studio with real-time margin & cost guardrails, multi-currency exchange rate support, file attachments, 360° Serial Number assignment modal, executive document preview, and automated Recurring Invoice profiles with MRR/ARR projection cards.
- Sales Quotes, Credit Notes & Payments: One-click Quote-to-Invoice conversion, invoice-linked and unallocated Credit Note studio with stock restoration, payment allocation ledger, and online Customer Proof of Payment (POP) verification workflow.
- 360° Inventory, Batches (FEFO) & Procurement Suite: Full SKU catalog, Weighted Average Cost (WAC) stock receiving, manual stock adjustments, price & movement history ledgers, Vendor/Supplier 360° profiles, Purchase Orders with Goods Received Note (GRN) check-in, and 360° Serial Lookup tracing any serial number from origin Supplier PO to Customer Tax Invoice and Warranty status.
- Financial & Statutory Reporting Suite: 15+ interactive reports including Profit & Loss (Income Statement), Cost of Sales (COGS), SARS VAT201 Statutory Return Assistant, Aged Debtors Analysis, Sales & Purchases Breakdowns, Inventory Valuation, Expiring Batches (FEFO), and Year-End Accountant Audit Pack.
- System Administration & Security Suite: 8-tab System Control Center (with live interactive virtual bank card preview and 1-Click OTA Updater), Staff User Management, Email Template Studio with click-to-copy variable chips, Cron & Automation Command Center, Immutable Security Audit Trail, and Staff “My Account” workspace.
- Dedicated Client Self-Service Portal: Redesigned Customer Portal for viewing/approving Quotes, downloading Tax Invoices & Credit Notes, uploading Proofs of Payment (POP), and inspecting live Statements of Account.
- Hard-Coded Official Landing Showcase: Locked the left-hand authentication showcase panel to the official Keystone Accounting Lite (100% Free Edition) branding and emerald palette with direct links to keystonelite.co.za.
2. Global Omnibox Search Expanded to All 10 Modules
Upgraded Global Workspace Search (SearchModel and search/results.php) to simultaneously index and filter across all 10 core modules:
- Customers (Company Name, Contact Name, Email, Phone, VAT Number)
- Tax Invoices (Invoice Number, Notes, Customer Name)
- Sales Quotes (Quote Number, Notes, Customer Name)
- Credit Notes (Credit Note Number, Reason, Customer Name)
- Payments (Payment Reference, Payment Method, Invoice Number)
- Vendors & Suppliers (Company Name, Contact Name, Email, Phone, Tax Number)
- Purchase Orders (PO Number, Notes, Supplier Name)
- Inventory Catalog (Item Name, SKU / Item Number, Description)
- 360° Tracked Serial Numbers (Serial Number & Item Name, linking directly to 360° Serial Lookup)
- Operational Expenses (Vendor Name, Description, Expense Category Name)
3. Financial Logic & SQL Reconciliation Engine Fixes
Audited and reconciled every SQL query across the dashboard, customer statements, client portal, and financial reports to guarantee 0.0000 discrepancy across all ledgers:
- Same-Day Cost of Goods Sold (COGS) Accuracy: Fixed DATETIME vs. DATE comparison in Dashboard and Profit & Loss COGS queries so items stocked and invoiced on the same day always resolve their exact historical unit cost.
- Duplicate Same-Day Price Row Protection: Upgraded stock valuation and catalog cost joins to use deterministic correlated subqueries (ORDER BY effective_date DESC, id DESC LIMIT 1), preventing artificial inflation when an item's cost is updated multiple times on the same day.
- Unified 6-Bucket Age Analysis & FIFO Credit Note Deduction: Standardized aging bucket boundaries (Current ≤ 30, 30 Days ≤ 60, 60 Days ≤ 90, 90 Days ≤ 120, 120 Days ≤ 180, 180+ Days > 180) and applied oldest-first FIFO deduction of unallocated customer credit notes across Customer Statements, Portal Aging, and Aged Receivables reports.
- Multi-Currency Base Ledger Normalization: Normalized foreign-currency payments and recurring invoice projections using IFNULL(exchange_rate, 1).
- Bounded Recurring Invoice Date Advancement: Replaced recursive date calculation with a bounded loop in RecurringInvoiceModel::calculateNextDate().
4. Executive PDF & Native Excel (.xlsx) Document Engines
- All 7 PDF Templates Redesigned: Unified invoice_template.php, quote_template.php, credit_note_template.php, po_template.php, statement_template.php, accountant_report.php, financial_report_template.php, and pdf_styles.php under the Executive Fintech SaaS PDF Design System with dynamic brand accent ribbons, 360° Serial & Warranty blocks, stacked metadata ribbons, and multi-PDF cron loop styling support.
- Native Multi-Sheet OpenXML .xlsx Engine: Generates styled Excel workbooks with corporate title banners, KPI summary cards, formatted currency/percentage cells, auto-sized columns, and double-underlined accounting totals.
5. HTML Email Engine & 14 System Templates
- Executive HTML Email Master Wrapper: Redesigned base_template.php with a dynamic brand accent bar, automatic corporate wordmark fallback when no logo image is uploaded, company contact footer, and quick Portal/Staff login links.
- Global Placeholder Injection: Added automatic {{currency_symbol}} and {{company_name}} resolution inside Email::sendTemplate() across all 14 database-driven email templates.
6. Interactive Documentation & System Manuals
- User & Operations Manual (docs/user_manual.html): 15 comprehensive chapters with sticky navigation, instant search, and Light/Dark mode support.
- Technical & Architecture Manual (docs/technical_manual.html): 13 architectural chapters covering the MVC lifecycle, all 28 Schema v3 tables, 3-layer Tamper Defense, WAC/FEFO/COGS formulas, Cron CLI/Web execution, and the OTA Update engine.
7. Executive Installer, Schema v3 & 1-Click OTA Upgrade Engine
- Executive Installation & Upgrade Command Center (install/index.php): Redesigned two-column wizard with Light/Dark mode, 9-point pre-flight diagnostics, and One-Click Existing Installation Upgrade & Schema Sync that safely upgrades any older database (v0, v1, v2) to Schema v3 without losing company data.
- Complete Schema v3 Baseline (install/scheme.sql): Deploys all 28 tables and 14 system email templates using idempotent CREATE TABLE IF NOT EXISTS and INSERT IGNORE statements.
- Quote-Aware OTA SQL Migration Runner (OtaUpdater.php): Upgraded SQL statement splitter to safely handle semicolons inside HTML email templates and MySQL DDL statements during 1-Click Over-The-Air updates.
Keystone Accounting Lite v1.1.4 is Live! 🚀
Version 1.1.4 is a massive update introducing a robust, end-to-end tracking system for high-value and perishable inventory items, alongside a comprehensive global UI/UX overhaul to establish a clean, sharp, and professional aesthetic across the entire application.
📦 Advanced Inventory Tracking
-
360° Serial Number Tracking: Introduced a new Receive Stock interface for Purchase Orders. Staff can now use barcode scanners to rapidly log incoming serial numbers. When generating an Invoice, staff are now required to explicitly select the specific serial numbers being sold from available stock, backed by strict form validation.
-
Batch & Expiry Date Management: Enabled tracking for perishable goods. Expiry dates are now logged upon Purchase Order receipt, enabling FEFO (First-Expired, First-Out) inventory management and sales logic.
-
Warranty Tracking Engine: Warranties are now inherently tied to the lifecycle of specific Serial Numbers, ensuring accurate claim validation based on the exact date of the finalized invoice.
🎨 Global UI/UX Overhaul: The Flat & Clean Aesthetic
-
Removed "Pill" & "Shadow" Bloat: Executed a system-wide removal of heavy
.rounded-pill,.rounded-4,.shadow-sm, and.bg-body-tertiaryutility classes. All cards, buttons, and inputs now feature a clean, professional, and slightly squared-off aesthetic. -
Unified Brand Coloring: Hardcoded the primary theme color to the official Keystone Brand Green (
#198754). The Installer, Admin Dashboard, Customer Portal, and System Manuals now persistently respect this brand color, seamlessly overriding default Bootstrap blues (including active dropdown states and toggles). -
Bespoke Search Components: Engineered a new
.custom-search-groupflush input-group component. This guarantees that all global search bars and modal item-pickers (in Invoices, Quotes, and POs) align perfectly with their attached search/action buttons.
🛠️ Module-Specific Improvements
-
Dynamic AJAX Modals: Upgraded the
invoice-form.js,quote-form.js, andpo-form.jsengines. The "Add Inventory Item" modal now dynamically injects its placeholder UI, completely eliminatingnullreference crashes when opening and closing the modal after UI updates. -
Credit Limit & Multi-Currency UI: The system now silently monitors a customer's total unpaid balance in real-time, triggering an instant, non-blocking yellow warning banner if a limit is exceeded while adding line items. Additionally, line-item tables dynamically display the specific currency symbol assigned to the selected customer.
-
PO Locking & Terminology: System-wide terminology has been updated from "Vendors" to the more accurate "Suppliers". Furthermore, Marked-as-Received Purchase Orders are now strictly locked in the UI to prevent accidental desynchronization of inventory counts and expense ledgers.
-
Portal & Auth Refinements: The authentication screens (Login, Register, Forgot Password, Force Reset) have been refactored so the footer floats cleanly on the page background, detached from the main form card container. The client-facing portal's "Glass Theme" was also cleaned up to respect the new flat UI rules.
Keystone Accounting Lite v1.1.3 is Live! 📈
Version 1.1.3 is a major feature expansion focused heavily on Statutory Compliance, Reporting, and finalizing the Year-End Audit process. We have introduced a brand-new Accountant's Dashboard, overhauled the PDF generation engine, and completely reimagined the system's User Manuals.
📊 The Accountant's Year-End Engine
-
Dedicated Audit Dashboard: Introduced a new, high-level financial dashboard tailored specifically for South African auditors and accountants. It provides instant visual summaries for the Income Statement (P&L), Estimated VAT Liability, Aged Receivables (Debtors Book), and Closing Inventory Valuation.
-
Statutory Tax Year Defaulting: The new dashboard intelligently defaults its date filters to align perfectly with the standard South African Financial Tax Year (March 1 to Feb 28/29).
-
Export Audit Pack: Accountants can now instantly download raw data ledgers (Trial Balance & GL, Aged Debtors/Creditors, and Inventory Valuation) in CSV format for seamless external reconciliation.
📄 Advanced PDF Architecture
-
Standalone Statutory PDF: Built a pristine, A4 Landscape optimized HTML/CSS template specifically for the new Accountant's Report. This template completely strips away all web UI elements (shadows, sidebars, buttons) for a formal, printable document.
-
Bulletproof Logo Encoding: Engineered a robust Base64 image encoding block directly inside the PDF templates. The system now utilizes the
PROJECT_ROOTconstant to flawlessly locate the physical logo file on the server, encode it, and inject it into the PDF so it renders perfectly regardless of local network or SSL restrictions. -
Isolated Rendering Engine: Upgraded the
ReportControllerto bypass the native web wrapper when generating PDFs, ensuring the global web header and footer never bleed onto printed pages.
📚 Documentation & User Manual Overhaul
-
System-Native Aesthetic: Completely redesigned the HTML layouts of both the Admin Manual and the Customer Portal Manual to match the system's sleek, modern
.theme-cardand.shadow-smaesthetic. -
Dark Mode Integration: Integrated a functional, vanilla JavaScript Light/Dark Mode toggle into the manuals that automatically saves user preferences to local storage.
-
Comprehensive Content Expansion: Massively expanded the documentation to include detailed explanations of Credit Notes (strict invoice linking and stock returns), Multi-Currency billing, Exchange Rates, and the Credit Limit Warning engine.
🎨 Global Branding & UI Polish
-
Custom Brand Injection: Replaced the default Bootstrap blue primary color with a custom Keystone green (
--ks-green: #198754) across all system manuals and PDF templates. -
UI Consistency Fixes: Standardized table action buttons across the Inventory and Audit Logs views, upgrading them from blocky groups to modern, flex-based layouts with
.rounded-pillstyling to match the rest of the application. -
Opacity Bug Patch: Fixed a CSS overriding bug where solid background colors were hiding badge text by updating the
.bg-primaryclass to respect Bootstrap's nativergba()opacity variables.
Keystone Accounting Lite v1.1.2 is Here! 🚀
Version 1.1.2 is a massive Quality of Life (QoL) and UI/UX update. We completely overhauled the frontend architecture to unify our layouts, introduced a beautiful new global Help Engine, and refined the overall visual experience across the Admin dashboard and Client Portal.
🌐 Global Layout Unification & UI/UX
-
Intelligent Master Layouts: Eradicated layout fragmentation. We merged over 9 separate header, footer, and sidebar partials into a single, intelligent global
header.php,sidebar.php, andfooter.php. The system now dynamically adapts its structure and navigation based on the user's role (Admin, Staff, or Customer). -
App-Like Navigation: Completely hid default browser scrollbars globally for a cleaner, modern, native-app feel across all devices.
-
Scroll Progress & Quick-Return: Introduced a dynamic, bottom-right scroll progress indicator ring that seamlessly doubles as a "Back to Top" button on long data tables and reports.
-
Sticky Footer Engine: Implemented a robust CSS flexbox layout ensuring the application footer always stays neatly at the absolute bottom of the screen, even on pages with minimal content.
-
Dark Glass Portal Enhancements: Fixed inline CSS overrides so the beautiful "Dark Glass" Client Portal theme perfectly respects Bootstrap 5's Light/Dark mode toggler.
💡 Contextual "Zero-Breakage" Help Architecture
-
The Global Help Offcanvas: Added a dedicated Help button to the top global navigation bar. Clicking it slides out a beautiful offcanvas panel from the right.
-
View-Specific App Logic: We injected context-aware documentation directly into every single view file in the application using safe PHP output buffering. The help panel now dynamically explains the exact business logic of the screen you are currently on—such as how Credit Limit warnings calculate, when Stock is deducted vs added, how the VAT extraction works, and what specific Document Statuses mean.
🤝 Client Portal Refactoring
-
Portal Engine Migration: Transitioned all Client Portal views (Quotes, Invoices, Credit Notes, Payments, Statements, and Profile) to utilize the new unified layout engine.
-
PHP 8.1+ Stability: Proactively patched multiple strict type deprecation warnings (specifically resolving
htmlspecialchars(null)errors) on the Client Profile and Edit screens.
🛠️ System Optimizations & Code Cleanup
-
Controller Routing Upgrades: Refactored the
BaseControllerlayout loader to cleanly route Auth, Portal, and Admin traffic through the new master template files. -
Redundancy Purge: Safely deleted deprecated partial files (
auth_header.php,portal_sidebar.php, etc.) resulting in a lighter, faster, and much easier to maintain codebase.
Keystone Accounting Lite v1.1.1 is Here! 🚀
Version 1.1.1 is a massive feature and stability release, introducing a complete, end-to-end procurement ecosystem and introducing bulletproof, enterprise-grade database migration tracking for our Over-The-Air (OTA) updates.
📦 Procurement & Purchasing Engine
-
Vendor Management: Introduced full CRUD operations for supplier management, allowing you to track company details, contact information, and tax numbers.
-
Purchase Orders (POs): Added a comprehensive PO lifecycle (Draft, Sent, Received, Cancelled) with automated line-item calculations and a dedicated read-only preview screen.
-
The Financial Bridge: Implemented an airtight accounting link. Marking a PO as "Received" now automatically updates live inventory
stock_quantityAND auto-generates a locked-in Expense record to ensure your Profit & Loss (P&L) remains mathematically perfect. -
PDF & Automated Emailing: Added one-click PDF generation and direct-to-vendor emailing for Purchase Orders, complete with a new customizable
new_poemail template.
📊 Reporting & Dashboards
-
Purchasing Reports: Deployed two new financial reports: Purchases by Vendor (to track top suppliers by spend) and Purchases by Item (to identify frequently ordered inventory).
-
Dashboard Integration: Overhauled the Home and Admin dashboards to display "Active POs," "Total Vendors," and a "Recent Purchase Orders" data table.
-
Theme-Responsive UI: Restored intelligent Bootstrap 5 utility classes (
bg-body-secondary) to dashboard data tables so headers adapt seamlessly between Light and Dark modes.
⚙️ OTA Updater & Installer Upgrades
-
"Zero-Breakage" Migration Tracking: Fixed a critical flaw in the
OtaUpdaterthat forced redundant table creations. The system now securely tracks its exact schema state via a newdb_versioncolumn in the settings table, ensuring historical.sqlfiles are safely ignored during updates. -
Strict Pathing Enforcement: Refactored the OTA extraction logic to strictly target the
$projectRoot, preventing migrations from accidentally dropping into subdirectories. -
The "Cascade" Installation Method: Completely rewrote the fresh installation engine (
install/index.php). Fresh installs now deploy the baselinescheme.sqland instantly cascade through the/migrationsfolder, guaranteeing new users and updated users land on the exact same database architecture without manual developer intervention.
🐞 Bug Fixes & System Tweaks
-
DataTables Empty State Crash: Resolved a UI bug where empty reports threw a
DataTables TN/4parameter error by removing hardcoded HTML empty states and letting the DataTables library naturally render its native "No data available" message. -
Exchange Rate Query Error: Fixed a SQL exception in the new purchasing reports by stripping out legacy
exchange_ratemultipliers from the PO subtotal queries. -
Migration Squashing: Consolidated all new
CREATEandALTERstatements for Vendors and POs into a single, clean1_purchasing_and_version_bridge.sqlfile to optimize the update payload and prevent transactional hiccups.
Keystone Accounting Lite v1.1.0 is Here! 🛡️
Version 1.1.0 is a major improvement update focused heavily on fortifying system security, overhauling the licensing engine, and introducing seamless Over-The-Air (OTA) updates.
🔒 Security & Architecture
- 3-Layer Tamper Protection: Implemented a strict security protocol that hard-stops execution if core files are modified or licensing checks are bypassed. Defenses are now active at the Root (
index.php), Router (BaseController.php), and Database (database.php) levels. - Upgraded License Storage: Migrated from a vulnerable PHP configuration file to a secure, flat-file storage system (
app/config/license.key). - Decoupled Security UI: The license activation and tamper-alert screens are now entirely standalone. They run independently of the main application layout, ensuring security blocks render perfectly even if the core application breaks.
- Dynamic Security Tokens: The system now utilizes daily rotating
RC_CORE_SECUREtokens to authenticate internal routing and database connections.
⚙️ Core Features Added
- Over-The-Air (OTA) Updates: Added the
OtaUpdaterengine to gracefully handle remote downloading, zip extraction, and automated.sqldatabase migrations. - Licensing SDK: Introduced the
AppClientlibrary to manage remote server validation, update checking, and dynamic developer news feeds. - API Caching: Implemented a robust local JSON caching layer to prevent API rate-limiting against the remote licensing server and dramatically improve page load speeds.
🐞 Bug Fixes & System Tweaks
- Version Handling: Fixed an issue where version numbers were not displaying correctly.
version.phpis now properly executed by the system rather than read as plain text. - Installer Optimization: Updated
install/index.phpto natively support the new flat-file licensing structure and stripped out redundant file-writing logic. - Settings Management: Rewrote the
AdminControllersettings saving logic to securely write new license keys directly to the.keyfile and instantly clear API caches.
🗑️ Required System Cleanup
To complete this integration and prevent security vulnerabilities or system conflicts, you must permanently delete the following legacy files from your server/codebase:
- Delete:
license_config.php(Located in the root folder)
Reason: License keys are now securely stored inapp/config/license.key. Leaving the old PHP config file exposes legacy logic and creates unnecessary clutter. - Delete:
app/views/errors/license_lockout.php
Reason: The lockout UI has been moved to the rootlicense_check.phpfile so that it executes before the MVC framework even boots. The old view file is completely obsolete and will no longer be called.
Keystone Accounting Lite v1.0.9 is Here! 🚀
Version 1.0.9 brings a massive leap forward in usability and communication. We've introduced full mobile responsiveness, powerful new customer management tools including multiple email support and VAT tracking, and beautiful new financial visualizations.
🆕 New Features
- Full Mobile Responsiveness: The entire application (Admin & Portal) now features a smooth, slide-out sidebar overlay. We've integrated official DataTables Responsive extensions to eliminate horizontal scrolling by smartly collapsing columns into expandable rows, and action buttons now dynamically adapt for thumb-friendly touch targets on mobile devices.
- Advanced Customer Communication: You can now assign multiple email addresses to a single customer via a dynamic "+" button. The system will send invoices, quotes, and statements to all registered addresses simultaneously. We've also added a dedicated "VAT Registration Number" field that automatically displays on all generated PDF documents.
- Auto-Email Notification Controls: Added a new toggle on the customer profile allowing you to disable automatic cron job emails (like overdue reminders) for specific clients without affecting manual sending capabilities.
- Automated Bug & Feature Reporting: A dedicated "Report Issue" tab in the Admin Settings allows you to submit bug reports or feature requests—complete with detailed descriptions and multiple screenshot attachments—directly to the Keystone Lite development team.
- Financial Visualizations: Added beautiful Chart.js graphs to the Invoices and Payments list pages, giving you a clear visual breakdown of your total invoiced amounts and collected revenue over the past 12 months.
- Customer Portal Upgrades: Clients can now update their own physical address and VAT Registration numbers directly from the "My Profile" page in the secure client portal.
✨ Enhancements & Fixes
- Cron Job & Automation: Manually triggering "Run Tasks" now executes silently in the background using cURL with a loading spinner, completely preventing disruptive page redirects. We also redesigned the Cron Management dashboard with quick-stat widgets and upgraded the log viewer into a professional, dark-themed server terminal interface.
- Smart Client Preferences: The background cron script now actively respects the new
email_notificationssetting, ensuring opted-out customers do not receive automated overdue, expiring, or recurring document emails. - System Core Fixes: Resolved a fatal error (
Call to undefined method SettingsModel::getNextDocumentNumber()) that prevented the creation of new Credit Notes, and fixed PHP 8.1 deprecation warnings on the portal profile page.
⚙️ Technical Changes (Developer Notes)
- Controllers & Models: Refactored the
Email.phplibrary to parse comma-separated email strings for primary recipients and BCC distributions. Addedemail_notificationsandcompany_vat_numbertoCustomerModel, addedgetNextDocumentNumber()toSettingsModel, and updatedAdminControllerto handle silent cURL executions. - Views & Helpers: Injected DataTables Responsive CSS/JS and mobile backdrop overlay logic globally via
header.phpandfooter.php. All PDF templates (Invoice, Quote, Credit Note, Statement) now conditionally render customer VAT numbers. Completely re-engineered the Cron UI views for a modernized UX.
Keystone Accounting Lite v1.0.8: The Foundation Update 🏗️
Version 1.0.8 is a milestone release! We have completely rebuilt the core architecture of Keystone Accounting Lite from the ground up. Because we have introduced a vastly superior database schema and a brand-new application framework, this update requires a clean, fresh installation. This reset paves the way for unparalleled security, speed, and future scalability.
⚠️ Important Upgrade Notice
Due to the comprehensive database overwrite and application layout changes, a standard OTA (Over-The-Air) update is not possible. You must perform a clean installation. Please ensure you back up any existing client or financial data before proceeding with the new setup.
🚀 Massive Architectural Upgrades
- Modern UI/UX Overhaul: We have transitioned the entire frontend and client portal to a beautiful, lightning-fast Tailwind CSS framework. This includes a seamless, user-toggleable Dark/Light mode experience that looks gorgeous on any device.
- Enterprise-Grade Security: The system has been fortified with global CSRF (Cross-Site Request Forgery) protection on all forms, mathematical CAPTCHA spam verification, brute-force login lockouts, and strict role-based access control.
- Unified Admin Dashboard: We have completely merged the website management tools. You can now manage your system settings, user access, software versions, and FAQs all from a single, centralized command center.
- Asynchronous Email Engine: Introduced a database-driven background email queue. System notifications and client emails are now processed asynchronously, drastically improving page load times and bypassing strict shared-hosting email rate limits.
- Database Optimization: Streamlined the entire database structure. We eliminated redundant configuration tables and optimized relationships to guarantee data integrity and faster query execution.
While a clean install takes a few extra minutes, this new enterprise-grade foundation ensures Keystone Accounting Lite remains the most robust free accounting platform on the market. Welcome to the next generation!
Keystone Accounting Lite v1.0.7 is Here! 🚀
Welcome to version 1.0.7! This feature-rich update brings powerful Recurring Income Projections, an enhanced Admin Dashboard, and a massive sweep of bug fixes to perfect system stability and reporting accuracy.
🆕 New Features
- Recurring Income Projection: Added a visual forecasting chart to both the Recurring Invoices page and the main Admin Dashboard. The system smartly calculates projected revenue for the next 12 months based on active recurring profiles and their specific frequencies (Weekly, Monthly, Quarterly, Annually).
- Enhanced Admin Dashboard: Upgraded the "Top Buying Customer" and "Top Selling Product" widgets to display a list of the Top 5 performers instead of just the single highest. The new Recurring Income chart has also been integrated for better cash flow visibility.
✨ Enhancements & Fixes
- System Core & Notifications: Resolved a critical issue where Flash Notifications (Success/Error toasts) were missing on the Admin Dashboard and Settings pages. Also fixed a bug that caused notifications to silently "stack up" and appear all at once (4-5 at a time) when navigating between pages.
- Recurring Invoices: Fixed a URL routing bug caused by case-sensitivity in Linux environments that redirected users to the home page when trying to Activate, Stop, or Edit a profile. Fixed a status saving bug by strictly enforcing lowercase database constraints (
active,paused,cancelled). - Payments & Client Portal: Fixed an "Undefined property" crash on the Payments History page. Resolved a calculation error on the Portal Dashboard where the "Amount Outstanding" was incorrectly subtracting historical payments from currently open invoices. Fixed a crash when clients viewed an invoice in the portal.
- Reporting & UI: Patched "Undefined array key" errors that caused the Aged Receivables report to crash or show zero values. Updated table headers across all reports, Customer lists, and Inventory lists to use a dark theme for superior contrast in both Light and Dark modes.
⚙️ Technical Changes (Developer Notes)
- Controllers & Models: Updated
PaymentModelto select the missingis_companycolumn. AddedgetProjectedIncome()logic toRecurringInvoiceModel. UpdatedAdminModelto fetch top 5 records. RefactoredPortalModelandReportModelqueries to ensure strict financial accuracy. - Views & Helpers: Updated
footer.phpto properly render flash toasts globally on admin pages. Updatedsession_helper.phpwith logic to prevent duplicate notifications from queuing. AddedChart.jsrendering logic to the Admin and Recurring Invoice views.
Keystone Accounting Lite v1.0.6 is Here! 🎉
Kicking off the new year with version 1.0.6! This feature update introduces powerful administrative tools like System Email Auditing and Automatic Database Updates, along with critical fixes to the Quote-to-Invoice pipeline.
🆕 New Features
- System Email Audit (BCC): Added a new "BCC System" toggle in Admin Settings -> Email (SMTP). When enabled, a blind carbon copy (BCC) of every email sent by the system (Invoices, Quotes, Welcomes, etc.) is automatically routed to your Company Email address, ensuring a complete and effortless audit trail.
- Automatic Database Updates: Implemented a self-executing migration system. When installing an update ZIP, the system now automatically scans the
/install/folder, executes any pending SQL updates directly against the database, and marks them as completed. No more manual SQL imports!
✨ Enhancements & Fixes
- Quote to Invoice Conversion: Fixed a critical bug where line items were missing during conversion. The logic now correctly carries over the "Manage Stock" status and "Unit of Measure" for every item, ensuring accurate inventory deduction when a Quote becomes an active Invoice.
⚙️ Technical Changes (Developer Notes)
- Database: Added the
smtp_bcc_systemcolumn to the settings table and updatedinstall/scheme.sqlfor fresh installations. - Controllers & Models: Integrated
runDatabaseMigrations()into theAdminController. UpdatedQuoteModelto fetch stock tracking fields, and updatedSettingsModelto handle the new BCC setting. TheEmaillibrary now dynamically applies$mailer->addBCC()when enabled. - Views: Fixed
invoices/add.phpto properly serialize PHP arrays into JavaScript objects for seamless frontend data population, and updated the Admin Settings view with the new BCC toggle UI.
Keystone Accounting Lite v1.0.5 is Here! 🎉
Version 1.0.5 brings powerful new capabilities to the platform, including a fully integrated Attachments System, strict Credit Note linking, and advanced Inventory tracking, alongside crucial UI and database optimizations.
🆕 New Features
- Attachments System: Added full support for uploading files (PDFs, Images, Docs) to Invoices, Quotes, and Credit Notes. Customers can securely view and download these files directly from their Client Portal, while admins can manage them from the edit screens.
- Strict Credit Note Linking: Completely overhauled the Credit Note workflow to enforce Invoice Linking. The new "Select Invoice -> Select Items" flow prevents orphaned credit notes, auto-populates pricing, and automatically updates the parent invoice's balance (e.g., marking it as 'Paid in full').
- Inventory Item History & UOM: Introduced a Unit of Measure (UOM) field (e.g., Each, Hour, Kg) visible across all forms and PDFs. Added a detailed Item Overview page displaying stock levels, total revenue, and a complete transaction history table.
✨ Enhancements
- Admin Interface: Added a Credit Limit Warning to the Invoice Creation screen. Added a quick-access "Credit Notes" tab to the Customer Detail view. Fixed Dark Mode display conflicts on the Invoice and Credit Note creation forms.
- Client Portal: Brought Search, Pagination, and Sorting to the "My Credit Notes" page. Updated the web-based document views to display full client addresses matching the PDF layouts, and resolved Dark Mode visibility issues on portal tables.
- PDF Documents: Standardized the Credit Note PDF layout to match Invoices and Quotes perfectly. Added the Reference Invoice Number to the header, removed irrelevant banking details, and added the new UOM column to all document templates.
⚙️ Technical Changes & Bug Fixes
- Database Architecture: Created the new
attachmentstable. Addedunit_of_measureto inventory items,manage_stockto invoice items, andcredit_limit/is_activeto the customers table.scheme.sqlhas been updated for fresh installations. - System Stability: Refactored
InvoiceModelto resolve SQL transaction Deadlock/Lock Wait Timeout errors during stock deduction. - Controller Updates: Upgraded
CreditNoteControllerto handle AJAX fetching of unpaid invoices. UpdatedCustomerControllerandPortalControllerto support the new Credit Note history and secure attachment serving.
ℹ️ Abandoned changes
Keystone Accounting Lite v1.0.3 is Here! 🎉
We are wrapping up the year with a massive feature update! Version 1.0.3 introduces highly requested tools like Customer Statements, interactive Client Portal actions, and critical UI refinements to perfect the Dark Mode experience.
🆕 New Feature: Customer Statements
- Generate & Email: You can now generate, preview, download, and email professional PDF account statements directly from the Customer View.
- Running Balances: The system now intelligently compiles a combined ledger of invoices and payments to calculate accurate running balances.
- Date Filtering: Added a new Statement Preview screen allowing you to filter transactions by date range before generating the final PDF.
✨ Enhancement: Interactive Customer Portal
- Live Web Views: Clients can now view beautiful HTML versions of their Quotes and Invoices directly in their browser before downloading the PDFs.
- Quote Interactions: Added interactive Approve and Decline buttons allowing clients to respond to Quotes instantly from their portal.
- Admin Alerts: Implemented automated email notifications to alert administrators the exact moment a client approves or declines a quote.
📊 Improvement: Payment Reporting
- Dedicated Reporting: Migrated "Payment History" into its own dedicated Payment Report under the Reports section, complete with custom date range filtering.
- Dark Mode Optimization: Fixed visibility issues in the Payment Report table headers and footers when Dark Mode is active.
🐞 Bug Fixes & Refinements
- Email Placeholders: Fixed the
{{name}}tag across all controllers to correctly output the client's Full Name or Company Name (instead of just their first name). - Quote Conversion: Converting a Quote to an Invoice now properly pulls your Default Invoice Terms from your settings, rather than carrying over the old Quote terms.
- DataTables Fix: Resolved a "Requested unknown parameter" crash that occurred when viewing an empty Expense Report.
- UI Polish: Applied broad Bootstrap class fixes to ensure all tables and buttons remain perfectly visible in Dark Mode.
📁 Developer Notes (Files Modified)
- New Files:
statement_preview.php,view_invoice.php,view_quote.php,statement_template.php, andpayments.php(Reports). - Updated SQL:
scheme.sqlupdated to include the new email templates (send_statement, admin_quote_approved, admin_quote_declined). - Modified Core: Extensive updates to the Customer, Invoice, Portal, Quote, Report, and User Models/Controllers.
Keystone Accounting Lite v1.0.2 is Here! 🚀
This major update brings a massive wave of improvements, UI enhancements, and critical under-the-hood fixes to make your accounting experience smoother and more reliable.
🔍 Global Search & Data Grids
- Global Search: Fully implemented across the application! Added a unified search bar to the sidebar and engineered the backend to handle complex queries without crashing.
- DataTables Integration: Added robust pagination, sorting, and on-the-fly search to all tables (Users, Quotes, Invoices, Payments, Expenses, Inventory, and Customers).
- UI Cleanup: Removed manual "No records found" rows, allowing DataTables to elegantly handle empty states, and resolved "unknown parameter" errors in the portal views.
🛠️ Core System & Numbering Fixes
- Bulletproof Numbering: Overhauled Invoice and Quote numbering. Replaced faulty logic with reliable Regex and introduced a "Safety Loop" to completely prevent duplicate document numbers during creation.
- Dashboard Calculations: Fixed the "Amount Outstanding" calculation to properly ignore payments attached to cancelled invoices.
- System Stability: Resolved a "Class not found" error on the dashboard and corrected the inventory item edit form routing.
✨ New Features & Portal Updates
- Quote Deletion: You can now delete quotes! Added intelligent backend logic to prevent the accidental deletion of quotes that are already marked as "Approved" or "Invoiced."
- Smarter Client Portal: "Draft" status documents are now completely hidden from your clients. We also fixed a parameter crash that occurred during client login.
- Email Improvements: Fixed a currency display issue by properly injecting the global
currency_symbolinto all outgoing email templates. - Access Control: Fixed an access bug so logged-in customers can now reliably generate and download their PDFs without triggering a false "login required" error.
Welcome to Keystone Accounting Lite! 🎉
We are thrilled to announce the official launch of Keystone Accounting Lite v1.0.1. This initial release brings a robust, self-hosted, and completely free enterprise-grade accounting solution to the community.
Core Features Included in this Release:
- Real-Time Dashboard: An instant bird's-eye view of your financial health, tracking total sales, outstanding payments, and expenses.
- Professional Invoicing: Create, manage, and email VAT or Non-VAT invoices with automated, branded PDF generation.
- Quote Management: Send professional quotes to your leads and convert them directly into active invoices with a single click.
- Self-Service Client Portal: A secure, dedicated login area for your clients to view their ledger, check quote statuses, and download past invoices.
- Inventory & Stock Control: Manage products and services, track cost margins, and automatically decrement stock levels upon invoicing.
- Expense Tracking: Categorize and log all business purchases to maintain an accurate, real-time net profit calculation.
Thank you for joining us on day one. We are committed to keeping this community edition 100% free forever, and we look forward to rolling out regular updates based on your feedback!
No matching release notes
Try clearing your search query or switching the selected application/addon filter.