{"id":26019896,"url":"https://github.com/aadipoddar/primebakes","last_synced_at":"2026-05-09T07:37:43.721Z","repository":{"id":297099665,"uuid":"995529406","full_name":"aadipoddar/PrimeBakes","owner":"aadipoddar","description":"Salasar Foods Guwahati Prime Bakes Order, Sales, Inventory Management and Accounts","archived":false,"fork":false,"pushed_at":"2026-05-03T09:52:14.000Z","size":25003,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-03T10:28:54.094Z","etag":null,"topics":["blazor","csharp","maui","mssql"],"latest_commit_sha":null,"homepage":"https://primebakes.azurewebsites.net/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aadipoddar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-03T16:06:26.000Z","updated_at":"2026-05-03T09:46:14.000Z","dependencies_parsed_at":"2026-02-08T09:04:54.329Z","dependency_job_id":null,"html_url":"https://github.com/aadipoddar/PrimeBakes","commit_stats":null,"previous_names":["aadipoddar/primeorders","aadipoddar/primebakes"],"tags_count":123,"template":false,"template_full_name":null,"purl":"pkg:github/aadipoddar/PrimeBakes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aadipoddar%2FPrimeBakes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aadipoddar%2FPrimeBakes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aadipoddar%2FPrimeBakes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aadipoddar%2FPrimeBakes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aadipoddar","download_url":"https://codeload.github.com/aadipoddar/PrimeBakes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aadipoddar%2FPrimeBakes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32811655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blazor","csharp","maui","mssql"],"created_at":"2025-03-06T07:56:40.431Z","updated_at":"2026-05-09T07:37:43.711Z","avatar_url":"https://github.com/aadipoddar.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"PrimeBakes/PrimeBakes.Web/wwwroot/images/logo_full.png\" alt=\"Prime Bakes Logo\" width=\"400\"/\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e🧁 Prime Bakes\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eEnterprise-Grade Restaurant, Store, Inventory \u0026 Accounts Management System\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cem\u003eA comprehensive business management solution for Salasar Foods Guwahati\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/build-passing-brightgreen?style=for-the-badge\" alt=\"Build\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/.NET-10.0-purple?style=for-the-badge\u0026logo=dotnet\" alt=\".NET\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/C%23-14-239120?style=for-the-badge\u0026logo=csharp\" alt=\"C#\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Blazor-Hybrid-blueviolet?style=for-the-badge\u0026logo=blazor\" alt=\"Blazor\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/MAUI-Cross_Platform-green?style=for-the-badge\u0026logo=dotnet\" alt=\"MAUI\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Azure-SQL_\u0026_Blob-0089D6?style=for-the-badge\u0026logo=microsoft-azure\" alt=\"Azure\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Platform-Windows%20|%20Android%20|%20iOS%20|%20macOS%20|%20Web-lightgrey?style=flat-square\" alt=\"Platforms\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Syncfusion-32.2.7-blue?style=flat-square\" alt=\"Syncfusion\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/License-Proprietary-red?style=flat-square\" alt=\"License\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Version-1.1.1.4-orange?style=flat-square\" alt=\"Version\"/\u003e\n\u003c/p\u003e\n\n---\n\n## 📋 Table of Contents\n\n- [Overview](#-overview)\n- [Key Features](#-key-features)\n- [Architecture](#-architecture)\n- [Project Structure](#-project-structure)\n- [Technology Stack](#-technology-stack)\n- [Modules](#-modules)\n- [Database Schema](#-database-schema)\n- [Getting Started](#-getting-started)\n- [Deployment](#-deployment)\n- [Security](#-security)\n- [Platform Support](#-platform-support)\n- [License](#-license)\n\n---\n\n## 🎯 Overview\n\n**Prime Bakes** is a full-featured enterprise resource planning (ERP) system designed specifically for bakery and food manufacturing businesses. Built with modern .NET technologies, it provides seamless cross-platform functionality across desktop, mobile, and web environments.\n\nThe system handles the complete business lifecycle from raw material procurement to finished goods sales, including restaurant dine-in billing, comprehensive financial accounting, and real-time inventory tracking across multiple locations.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"PrimeBakes/PrimeBakes/Resources/AppIcon/logo.png\" alt=\"App Icon\" width=\"120\"/\u003e\n\u003c/p\u003e\n\n---\n\n## ✨ Key Features\n\n### 🍽️ **Restaurant Management**\n- **Dine-In Billing** - Desktop and mobile-optimized POS with table management\n- **Dining Areas \u0026 Tables** - Area/table configuration for dine-in operations\n- **KOT (Kitchen Order Ticket)** - Thermal printing to kitchen printers\n- **Bill Thermal Printing** - Instant receipt printing via Bluetooth/USB\n- **Mobile Billing** - Cart, payment, and confirmation flow for mobile devices\n\n### 🛒 **Store Management**\n- **Point of Sale (POS)** - Desktop and mobile-optimized sales interfaces\n- **Order Processing** - Customer order creation, tracking, and mobile ordering\n- **Sales Returns** - Complete return and refund management\n- **Stock Transfers** - Inter-location inventory transfers with dual-location tracking\n- **Outlet Summary** - Multi-outlet consolidated reporting\n- **Product Catalog** - Products, categories, KOT categories, location-specific pricing\n- **Customer Management** - Customer database with contact information\n- **Tax Configuration** - GST/Tax setup with product-level tax mapping\n\n### 📦 **Inventory Management**\n- **Purchase Entry** - Raw material procurement with supplier tracking\n- **Purchase Returns** - Return materials to suppliers\n- **Kitchen Issue** - Issue raw materials to production kitchens\n- **Kitchen Production** - Record finished goods production output\n- **Raw Material Management** - Ingredient catalog with categories and UoM\n- **Recipe Management** - Product recipes with Bill of Materials (BOM)\n- **Product Stock Adjustment** - Manual finished goods stock corrections\n- **Raw Material Stock Adjustment** - Manual raw material stock corrections\n- **Multi-Location Stock** - Track inventory across multiple outlets\n\n### 💰 **Financial Accounting**\n- **Double-Entry Bookkeeping** - Complete voucher entry system\n- **Ledger Management** - Full chart of accounts with groups and account types\n- **Company Management** - Multi-company support\n- **Voucher Types** - Payment, receipt, journal, contra entries\n- **Financial Year Management** - Multi-year period support\n- **State/UT Configuration** - State and union territory master data\n- **Nature \u0026 Account Types** - Hierarchical account classification\n- **Auto-Posting** - Automatic accounting entries from sales and bills\n\n### 📊 **Reporting \u0026 Analytics**\n- **Sales Reports** - Transaction-level and item-wise with summary/detailed views\n- **Sale Return Reports** - Transaction-level and item-wise breakdowns\n- **Order Reports** - Transaction-level and item-wise analysis\n- **Stock Transfer Reports** - Transaction-level and item-wise tracking\n- **Bill Reports** - Restaurant billing transaction and item reports\n- **Purchase Reports** - Vendor and item-wise purchase analysis\n- **Purchase Return Reports** - Transaction-level and item-wise breakdowns\n- **Kitchen Issue Reports** - Issue transaction and item reports\n- **Kitchen Production Reports** - Production transaction and item reports\n- **Product Stock Reports** - Opening, closing, purchase, sale stock with valuation\n- **Raw Material Stock Reports** - Comprehensive material stock analysis\n- **Outlet Summary Report** - Multi-outlet consolidated performance\n- **Financial Accounting Report** - Voucher-wise accounting transactions\n- **Accounting Ledger Report** - Ledger-wise transaction details\n- **Trial Balance** - Company-wise financial statement\n- **Profit \u0026 Loss** - Income statement\n- **Balance Sheet** - Financial position statement\n- **PDF \u0026 Excel Export** - All reports exportable in both formats\n- **Invoice Generation** - PDF invoices for all transaction types\n- **Email Integration** - Send invoices and reports via email\n\n### 🔔 **Push Notifications**\n- Real-time order and transaction notifications\n- Stock alert and production notifications\n- Firebase Cloud Messaging integration (Android)\n- Azure Notification Hubs backend\n- Local notification support on all platforms\n\n### 🖨️ **Printing**\n- **Thermal Printing** - Sale, bill, and KOT receipt printing\n- **Bluetooth Printing** - Wireless printer support for mobile devices\n- **PDF Invoices** - Formatted invoices for purchase, sale, bill, order, stock transfer, kitchen issue, kitchen production, and accounting\n\n### 🔄 **Auto-Updates**\n- Automatic update detection\n- Seamless in-app update installation\n- Version management via GitHub releases\n\n---\n\n## 🏗 Architecture\n\n```\n┌─────────────────────────────────────────────────────────────────────────────┐\n│                              CLIENT APPLICATIONS                             │\n├─────────────────┬─────────────────┬─────────────────┬───────────────────────┤\n│  📱 Android     │  🍎 iOS/macOS   │  🖥️ Windows     │  🌐 Web Browser       │\n│  MAUI Blazor    │  MAUI Blazor    │  MAUI Blazor    │  Blazor Server        │\n└────────┬────────┴────────┬────────┴────────┬────────┴───────────┬───────────┘\n         │                 │                 │                    │\n         └─────────────────┴─────────────────┴────────────────────┘\n                                    │\n                     ┌──────────────┴──────────────┐\n                     │   PrimeBakes.Shared         │\n                     │   (Blazor Components)       │\n                     │   • Pages \u0026 Layouts         │\n                     │   • UI Components           │\n                     │   • Services Interfaces     │\n                     └──────────────┬──────────────┘\n                                    │\n                     ┌──────────────┴──────────────┐\n                     │   PrimeBakesLibrary         │\n                     │   (Business Logic)          │\n                     │   • Data Access Layer       │\n                     │   • Models \u0026 Entities       │\n                     │   • Export \u0026 Print Services  │\n                     │   • Notification Services   │\n                     └──────────────┬──────────────┘\n                                    │\n         ┌──────────────────────────┼──────────────────────────┐\n         │                         │                          │\n         ▼                         ▼                          ▼\n┌─────────────────┐     ┌─────────────────┐     ┌─────────────────────┐\n│  Azure SQL      │     │  Azure Blob     │     │  Push Notifications │\n│  Database       │     │  Storage        │     │  API                │\n│  • 40+ Tables   │     │  • Documents    │     │  • Azure Notification│\n│  • Stored Procs │     │  • Attachments  │     │    Hubs             │\n│  • 25+ Views    │     │                 │     │  • Firebase FCM     │\n└─────────────────┘     └─────────────────┘     └─────────────────────┘\n```\n\n---\n\n## 📁 Project Structure\n\n```\nPrimeBakes/\n│\n├── 📂 PrimeBakes/                    # Main Application Folder\n│   ├── 📱 PrimeBakes/                # MAUI Client (Android/iOS/Windows/Mac)\n│   │   ├── Platforms/                # Platform-specific code\n│   │   ├── Resources/                # App icons, splash, fonts\n│   │   ├── Services/                 # Native service implementations\n│   │   │   ├── Notifications        # Push \u0026 local notification handling\n│   │   │   ├── Bluetooth             # Bluetooth printer services\n│   │   │   ├── Sound \u0026 Vibration     # Audio \u0026 haptic feedback\n│   │   │   └── Updates               # Auto-update service\n│   │   └── Components/               # MAUI-specific components\n│   │\n│   ├── 🔗 PrimeBakes.Shared/         # Shared Blazor Components\n│   │   ├── Pages/                    # All application pages\n│   │   │   ├── Store/                # Sales, orders, products, stock transfer\n│   │   │   ├── Restaurant/           # Bills, dining areas/tables, mobile POS\n│   │   │   ├── Inventory/            # Purchase, kitchen, stock, recipes, raw materials\n│   │   │   ├── Accounts/             # Financial accounting, masters, reports\n│   │   │   └── Operations/           # Users, locations, settings\n│   │   ├── Components/               # Reusable UI components\n│   │   │   ├── Button/               # Action buttons, date range, toggles, mobile buttons\n│   │   │   ├── Card/                 # Balance info cards\n│   │   │   ├── Dialog/               # Confirmations, uploads, toasts, validation\n│   │   │   └── Page/                 # Header, footer, loader, mobile filters\n│   │   ├── Layout/                   # Main layout templates\n│   │   └── Services/                 # Shared service interfaces\n│   │\n│   └── 🌐 PrimeBakes.Web/            # Blazor Server Web App\n│       ├── Services/                 # Web-specific implementations\n│       └── wwwroot/                  # Static assets (images, JS, CSS)\n│\n├── 📚 PrimeBakesLibrary/             # Core Business Library\n│   ├── Data/                         # Data access classes\n│   │   ├── Store/                    # Sale, order, stock transfer, product, masters\n│   │   ├── Restaurant/               # Bill, dining data operations\n│   │   ├── Inventory/                # Purchase, kitchen, stock, recipe, raw material\n│   │   ├── Accounts/                 # Financial accounting, masters\n│   │   ├── Operations/               # User, location, settings\n│   │   └── Common/                   # Shared utilities \u0026 helpers\n│   ├── DataAccess/                   # Database \u0026 blob connectivity\n│   ├── Models/                       # Entity models (80+ classes)\n│   └── Exporting/                    # PDF, Excel, thermal print \u0026 email services (70+ classes)\n│       └── Utils/                    # Export utilities (PDF, Excel, thermal, mailing)\n│\n├── 🗄️ DBPrimeBakes/                  # SQL Server Database Project (SSDT)\n│   ├── Tables/                       # 40+ database table definitions\n│   │   ├── Store/                    # Product, sale, order, stock transfer tables\n│   │   ├── Restaurant/               # Bill, dining area/table tables\n│   │   ├── Inventory/                # Purchase, kitchen, stock, recipe, raw material tables\n│   │   ├── Accounts/                 # Financial accounting, ledger, group, voucher tables\n│   │   └── Operations/               # User, location, settings tables\n│   ├── StoredProcedures/             # Stored procedures\n│   │   ├── LoadData/                 # Data retrieval procedures\n│   │   ├── Insert/                   # Data insertion procedures\n│   │   └── Delete/                   # Data deletion procedures\n│   └── Views/                        # 25+ database views (overview \u0026 item-level)\n│\n├── 📤 PushNotificationsAPI/          # Notification Backend API\n│   ├── Controllers/                  # API controllers\n│   ├── Services/                     # Notification hub services\n│   ├── Models/                       # API models\n│   └── Authentication/               # API key authentication handler\n│\n└── 📊 ExcelImport/                   # Data Import Utility\n    └── Program.cs                    # Bulk data import tool\n```\n\n---\n\n## 🛠 Technology Stack\n\n### **Frontend**\n| Technology | Version | Purpose |\n|------------|---------|---------|\n| **.NET MAUI** | 10.0 | Cross-platform native apps |\n| **Blazor Hybrid** | 10.0 | UI framework for MAUI |\n| **Blazor Server** | 10.0 | Web application hosting |\n| **Syncfusion Blazor** | 32.2.7 | Enterprise UI components (Grid, Dropdowns, Calendars, Inputs, Notifications, Popups) |\n| **Toolbelt HotKeys2** | 6.2.0 | Keyboard shortcuts |\n| **Blazor.Bluetooth** | 1.0.6 | Bluetooth printer connectivity (Web) |\n\n### **Backend**\n| Technology | Version | Purpose |\n|------------|---------|---------|\n| **.NET 10 / C# 14** | 10.0 | Application framework |\n| **Dapper** | 2.1.72 | Micro-ORM for data access |\n| **Microsoft.Data.SqlClient** | 6.1.4 | Azure SQL Database connectivity |\n| **Azure.Storage.Blobs** | 12.27.0 | Document \u0026 attachment storage |\n| **SkiaSharp** | 3.119.2 | Image processing for exports |\n\n### **Services \u0026 APIs**\n| Technology | Version | Purpose |\n|------------|---------|---------|\n| **ASP.NET Core Web API** | 10.0 | Push notification backend |\n| **Azure Notification Hubs** | 4.2.0 | Cross-platform push notifications |\n| **Firebase Cloud Messaging** | — | Android push notifications |\n| **MailKit / MimeKit** | 4.15.1 | Email invoice \u0026 report delivery |\n| **Plugin.LocalNotification** | 13.0.0 | In-app local notifications |\n| **Plugin.Maui.Audio** | 4.0.0 | Notification sounds |\n\n### **Export \u0026 Reporting**\n| Technology | Version | Purpose |\n|------------|---------|---------|\n| **Syncfusion PDF** | 32.2.7 | PDF invoice \u0026 report generation |\n| **Syncfusion XlsIO** | 32.2.7 | Excel export functionality |\n| **NumericWordsConversion** | 2.1.1 | Amount-to-words on invoices |\n\n### **DevOps \u0026 Tooling**\n| Technology | Purpose |\n|------------|---------|\n| **SQL Server Data Tools (SSDT)** | Database project management |\n| **GitHub Actions** | CI/CD, releases, and auto-updates |\n\n---\n\n## 📦 Modules\n\n### 🍽️ Restaurant Module\n\n| Feature | Desktop | Mobile | Description |\n|---------|:-------:|:------:|-------------|\n| **Bill Entry** | ✅ | ✅ | Create dine-in billing transactions |\n| **Dining Dashboard** | ✅ | ✅ | Table status overview with quick actions |\n| **Dining Area Management** | ✅ | ❌ | Configure restaurant dining areas |\n| **Dining Table Management** | ✅ | ❌ | Configure tables per dining area |\n| **Bill Reports** | ✅ | ❌ | Transaction-level and item-wise reports |\n| **KOT Printing** | ✅ | ✅ | Kitchen order ticket thermal printing |\n| **Bill Thermal Print** | ✅ | ✅ | Receipt printing via Bluetooth/USB |\n\n### 🛍️ Store Module\n\n| Feature | Desktop | Mobile | Description |\n|---------|:-------:|:------:|-------------|\n| **Sale Entry** | ✅ | ✅ | Create sales transactions with POS |\n| **Order Entry** | ✅ | ✅ | Process customer orders with mobile flow |\n| **Sale Return** | ✅ | ❌ | Handle product returns and refunds |\n| **Stock Transfer** | ✅ | ❌ | Transfer inventory between locations |\n| **Product Management** | ✅ | ❌ | Product catalog with categories |\n| **Product Location Pricing** | ✅ | ❌ | Location-specific product rates |\n| **KOT Category Management** | ✅ | ❌ | Kitchen order ticket categories |\n| **Customer Management** | ✅ | ❌ | Customer database |\n| **Tax Configuration** | ✅ | ❌ | GST/Tax setup with product mapping |\n| **Sale Reports** | ✅ | ❌ | Transaction and item-wise reports |\n| **Sale Return Reports** | ✅ | ❌ | Return transaction and item reports |\n| **Order Reports** | ✅ | ❌ | Order transaction and item reports |\n| **Stock Transfer Reports** | ✅ | ❌ | Transfer transaction and item reports |\n| **Outlet Summary Report** | ✅ | ❌ | Multi-outlet consolidated performance |\n| **Sale Thermal Print** | ✅ | ✅ | Receipt printing via Bluetooth/USB |\n\n### 📦 Inventory Module\n\n| Feature | Desktop | Mobile | Description |\n|---------|:-------:|:------:|-------------|\n| **Purchase Entry** | ✅ | ❌ | Record raw material purchases |\n| **Purchase Return** | ✅ | ❌ | Return materials to suppliers |\n| **Kitchen Issue** | ✅ | ❌ | Issue raw materials to production |\n| **Kitchen Production** | ✅ | ❌ | Record finished goods output |\n| **Kitchen Management** | ✅ | ❌ | Configure production kitchens |\n| **Raw Material Management** | ✅ | ❌ | Ingredient catalog with categories \u0026 UoM |\n| **Raw Material Categories** | ✅ | ❌ | Organize raw materials by category |\n| **Recipe Management** | ✅ | ❌ | Product recipes with BOM |\n| **Product Stock Adjustment** | ✅ | ❌ | Manual finished goods corrections |\n| **Raw Material Stock Adjustment** | ✅ | ❌ | Manual raw material corrections |\n| **Purchase Reports** | ✅ | ❌ | Transaction and item-wise reports |\n| **Purchase Return Reports** | ✅ | ❌ | Return transaction and item reports |\n| **Kitchen Issue Reports** | ✅ | ❌ | Issue transaction and item reports |\n| **Kitchen Production Reports** | ✅ | ❌ | Production transaction and item reports |\n| **Product Stock Report** | ✅ | ❌ | Opening, closing, purchase, sale stock with valuation |\n| **Raw Material Stock Report** | ✅ | ❌ | Comprehensive material stock with pricing |\n\n### 💼 Accounts Module\n\n| Feature | Desktop | Mobile | Description |\n|---------|:-------:|:------:|-------------|\n| **Financial Accounting** | ✅ | ❌ | Voucher entry system (payment, receipt, journal, contra) |\n| **Ledger Management** | ✅ | ❌ | Chart of accounts with opening balances |\n| **Group Management** | ✅ | ❌ | Account grouping by nature |\n| **Account Types** | ✅ | ❌ | Account type classification |\n| **Company Management** | ✅ | ❌ | Multi-company support |\n| **Voucher Management** | ✅ | ❌ | Voucher type configuration |\n| **Financial Year** | ✅ | ❌ | Multi-year period management |\n| **State/UT Configuration** | ✅ | ❌ | State and union territory master data |\n| **Auto Posting** | ✅ | ❌ | Automatic accounting from sales \u0026 bills |\n| **Financial Accounting Report** | ✅ | ❌ | Voucher-wise transaction report |\n| **Accounting Ledger Report** | ✅ | ❌ | Ledger-wise transaction details |\n| **Trial Balance** | ✅ | ❌ | Company-wise trial balance with opening \u0026 closing |\n| **Profit \u0026 Loss** | ✅ | ❌ | Income statement by nature |\n| **Balance Sheet** | ✅ | ❌ | Financial position statement |\n\n### ⚙️ Operations Module\n\n| Feature | Desktop | Mobile | Description |\n|---------|:-------:|:------:|-------------|\n| **User Management** | ✅ | ❌ | Role-based access control (Admin, Sales, Order, Inventory, Accounts) |\n| **Location Management** | ✅ | ❌ | Multi-outlet configuration with ledger mapping |\n| **Settings** | ✅ | ❌ | System-wide configuration |\n| **Local Settings** | ✅ | ✅ | Device-local preferences |\n| **Reports Dashboard** | ✅ | ❌ | Centralized access to all reports |\n\n---\n\n## 🗃️ Database Schema\n\n### Core Tables Structure\n\n```\n┌─────────────────────────────────────────────────────────────────────┐\n│                          OPERATIONS                                  │\n├─────────────────────────────────────────────────────────────────────┤\n│  User          │  Location       │  Settings                        │\n│  ├─ Id         │  ├─ Id          │  ├─ Id                          │\n│  ├─ Name       │  ├─ Name        │  ├─ Key                         │\n│  ├─ Passcode   │  ├─ Code        │  └─ Value                       │\n│  ├─ LocationId │  ├─ Discount    │                                  │\n│  ├─ Sales ✓    │  └─ LedgerId    │                                  │\n│  ├─ Order ✓    │                 │                                  │\n│  ├─ Inventory ✓│                 │                                  │\n│  ├─ Accounts ✓ │                 │                                  │\n│  └─ Admin ✓    │                 │                                  │\n└─────────────────────────────────────────────────────────────────────┘\n\n┌─────────────────────────────────────────────────────────────────────┐\n│                          RESTAURANT                                  │\n├─────────────────────────────────────────────────────────────────────┤\n│  DiningArea    │  DiningTable    │  Bill           │  BillDetail     │\n│  ├─ Id         │  ├─ Id          │  ├─ Id          │  ├─ Id          │\n│  └─ Name       │  ├─ DiningArea  │  ├─ Date        │  ├─ BillId      │\n│                │  ├─ Name        │  ├─ LocationId  │  ├─ ProductId   │\n│                │  └─ Capacity    │  ├─ CompanyId   │  ├─ Quantity    │\n│                │                 │  ├─ Running     │  └─ Rate        │\n│                │                 │  └─ Total       │                 │\n└─────────────────────────────────────────────────────────────────────┘\n\n┌─────────────────────────────────────────────────────────────────────┐\n│                             STORE                                    │\n├─────────────────────────────────────────────────────────────────────┤\n│  Product       │  Customer       │  Sale           │  Order          │\n│  ├─ Id         │  ├─ Id          │  ├─ Id          │  ├─ Id          │\n│  ├─ Name       │  ├─ Name        │  ├─ Date        │  ├─ Date        │\n│  ├─ Code       │  └─ Number      │  ├─ CustomerId  │  ├─ CustomerId  │\n│  ├─ CategoryId │                 │  ├─ LocationId  │  ├─ LocationId  │\n│  ├─ Rate       │  Tax            │  └─ Total       │  └─ Total       │\n│  └─ TaxId      │  ├─ Id          │                 │                 │\n│                │  ├─ Name        │  SaleReturn     │  StockTransfer  │\n│  ProductLoc.   │  └─ Percentage  │  ├─ Id          │  ├─ Id          │\n│  ├─ ProductId  │                 │  ├─ SaleId      │  ├─ FromLoc     │\n│  ├─ LocationId │  KOTCategory    │  └─ Total       │  └─ ToLoc       │\n│  └─ Rate       │  ├─ Id          │                 │                 │\n│                │  └─ Name        │                 │                 │\n└─────────────────────────────────────────────────────────────────────┘\n\n┌─────────────────────────────────────────────────────────────────────┐\n│                          INVENTORY                                   │\n├─────────────────────────────────────────────────────────────────────┤\n│  RawMaterial   │  Recipe         │  Purchase       │  KitchenIssue   │\n│  ├─ Id         │  ├─ Id          │  ├─ Id          │  ├─ Id          │\n│  ├─ Name       │  ├─ ProductId   │  ├─ Date        │  ├─ Date        │\n│  ├─ Code       │  └─ Details[]   │  ├─ PartyId     │  ├─ KitchenId   │\n│  ├─ CategoryId │                 │  └─ Total       │  └─ Details[]   │\n│  ├─ Rate       │  Kitchen        │                 │                 │\n│  └─ UOM        │  ├─ Id          │  PurchaseReturn │  KitchenProd.   │\n│                │  └─ Name        │  ├─ Id          │  ├─ Id          │\n│  RMCategory    │                 │  └─ Total       │  ├─ KitchenId   │\n│  ├─ Id         │  ProductStock   │                 │  └─ Details[]   │\n│  └─ Name       │  ├─ ProductId   │  RMStock        │                 │\n│                │  ├─ LocationId  │  ├─ RMId        │                 │\n│                │  └─ Quantity    │  └─ Quantity    │                 │\n└─────────────────────────────────────────────────────────────────────┘\n\n┌─────────────────────────────────────────────────────────────────────┐\n│                          ACCOUNTS                                    │\n├─────────────────────────────────────────────────────────────────────┤\n│  Ledger        │  Group          │  Voucher        │  FinAccounting  │\n│  ├─ Id         │  ├─ Id          │  ├─ Id          │  ├─ Id          │\n│  ├─ Name       │  ├─ Name        │  ├─ Name        │  ├─ VoucherId   │\n│  ├─ GroupId    │  ├─ NatureId    │  └─ Type        │  ├─ CompanyId   │\n│  └─ OpeningBal │  └─ TypeId      │                 │  └─ Date        │\n│                │                 │  FinancialYear  │                 │\n│  Company       │  AccountType    │  ├─ Id          │  FinAccDetail   │\n│  ├─ Id         │  ├─ Id          │  ├─ StartDate   │  ├─ LedgerId    │\n│  └─ Name       │  └─ Name        │  └─ EndDate     │  ├─ Debit       │\n│                │                 │                 │  └─ Credit      │\n│  Nature        │  StateUT        │                 │                 │\n│  ├─ Id         │  ├─ Id          │                 │                 │\n│  └─ Name       │  └─ Name        │                 │                 │\n└─────────────────────────────────────────────────────────────────────┘\n```\n\n---\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- **.NET 10 SDK** or later\n- **Visual Studio 2022** (17.8+) with:\n  - .NET MAUI workload\n  - ASP.NET and web development\n  - Data storage and processing (SQL Server Data Tools)\n- **Azure Account** (for production deployment)\n- **Android SDK** (for Android development)\n\n### Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone https://github.com/aadipoddar/PrimeBakes.git\n   cd PrimeBakes\n   ```\n\n2. **Configure Secrets**\n   \n   Update `PrimeBakesLibrary/DataAccess/Secrets.cs` with your connection strings:\n   ```csharp\n   public static class Secrets\n   {\n       public static string AzureConnectionString = \"your-azure-sql-connection\";\n       public static string AzureBlobStorageConnectionString = \"your-blob-connection\";\n       // ... other secrets\n   }\n   ```\n\n3. **Publish Database**\n   - Open `DBPrimeBakes/DBPrimeBakes.sqlproj`\n   - Right-click → Publish\n   - Select target database profile\n\n4. **Run the Application**\n   \n   **Web:**\n   ```bash\n   cd PrimeBakes/PrimeBakes.Web\n   dotnet run\n   ```\n   \n   **Desktop (Windows):**\n   ```bash\n   cd PrimeBakes/PrimeBakes\n   dotnet build -f net10.0-windows10.0.19041.0\n   ```\n   \n   **Android:**\n   ```bash\n   cd PrimeBakes/PrimeBakes\n   dotnet build -f net10.0-android\n   ```\n\n---\n\n## 🌐 Deployment\n\n### Azure Resources Required\n\n| Resource | Purpose |\n|----------|---------|\n| Azure SQL Database | Primary data storage |\n| Azure Blob Storage | Document attachments |\n| Azure App Service | Web application hosting |\n| Azure Notification Hubs | Push notifications |\n\n### Publishing Profiles\n\n- **LocalDBPrimeBakes.publish.xml** - Local development database\n- **AzurePrimeBakesTesting.publish.xml** - Azure testing database\n- **AzurePrimeBakes.publish.xml** - Azure production database\n\n---\n\n## 🔐 Security\n\n### Authentication\n- **Passcode-based login** - User authentication\n- **Role-based access control** - Admin, Sales, Order, Inventory, Accounts permissions\n- **Location-based restrictions** - Users tied to specific locations\n\n### API Security\n- **API Key Authentication** - Secure notification API endpoints\n- **Secure storage** - Encrypted local data storage on devices\n\n### Data Protection\n- Azure SQL with TDE (Transparent Data Encryption)\n- Secure blob storage with private access\n- HTTPS/TLS for all communications\n\n---\n\n## 📱 Platform Support\n\n| Platform | Status | Min Version |\n|----------|:------:|-------------|\n| Windows 10/11 | ✅ | 10.0.17763.0 |\n| Android | ✅ | API 24 (Android 7.0) |\n| iOS | ✅ | iOS 15.0 |\n| macOS | ✅ | macOS 15.0 |\n| Web Browser | ✅ | Modern browsers |\n\n---\n\n## 📄 License\n\nThis project is proprietary software developed for **Salasar Foods Guwahati**.\n\n---\n\n## 👨‍💻 Development\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eDeveloped with ❤️ by \u003ca href=\"https://aadisoft.vercel.app\"\u003eAadiSoft\u003c/a\u003e\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"PrimeBakes/PrimeBakes.Web/wwwroot/images/logo_resized.png\" alt=\"Prime Bakes\" width=\"150\"/\u003e\n\u003c/p\u003e\n\n---\n\nLatest Version = 1.1.3.5","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faadipoddar%2Fprimebakes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faadipoddar%2Fprimebakes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faadipoddar%2Fprimebakes/lists"}