shancheas efe321ca2f feat: implement payable invoice functionality and enhance invoice processing
- Introduced `isPayableInvoice` utility to determine the payability of invoices based on status and balance.
- Updated sales invoice detail page to conditionally create payment actions for payable invoices.
- Refactored form allocations to load only payable sales invoices, improving data integrity in payment forms.
- Enhanced sales payment form to validate invoice payability before processing.
- Added unit tests for `isPayableInvoice` to ensure accurate functionality.
- Updated sales status transitions to allow draft invoices to be processed or cancelled, improving workflow flexibility.

These changes enhance the sales invoicing process by ensuring that only valid invoices are processed for payments, improving overall user experience and data management.
2026-08-31 15:14:58 +07:00

Frontend Monorepo Template

Turborepo pnpm Node.js Vite React Electron TypeScript Vitest

A scalable, enterprise-ready Web & Desktop monorepo built with Turborepo, pnpm, Vite, and Electron. This repository is designed for long-term maintainability, featuring shared logic and UI libraries, centralized tooling configuration, turbo-powered task orchestration, and native desktop distribution with auto-updates.


🌍 Global Context

This repository utilizes a monorepo architecture to seamlessly share core systems, business logic, and UI components across multiple distribution targets (Web, Desktop, and Landing Page).

Topology Overview

  • apps/: Deployable applications (web, desktop, landing, docs-dev).
  • packages/: Shared libraries and core engines (core-api, core-storage, ui, utils, configs, etc.).

📚 Single Source of Truth

Important

Internal Documentation Hub All documentation, installation guides, architectural deep-dives, and API references are hosted internally via our VitePress application.

  • View in Git Repository (Raw Markdown): Read Overview Documentation

  • Run Documentation Locally:

    If this is your first time running the documentation, ensure you install the dependencies first:

    pnpm install
    

    Then, start the documentation server:

    pnpm dev:docs-dev
    

📝 License

This project is private and proprietary.

S
Description
No description provided
Readme
7.4 MiB
2026-09-04 09:34:41 +00:00
Languages
HTML 55.5%
JavaScript 27.1%
TypeScript 17.1%
CSS 0.2%