How syedrahaman92/qsoftware works
Qsoftware is an admin web application for maintaining customers and stock, creating and editing quotations/proformas, and printing saved quotations. The main workflow is to sign in, manage customer and product records, compose a quotation, save it, and open its print view. The graph includes the shared bootstrap and database helpers. Some page-to-page relationships are documented by excerpts or the README; unsampled page internals are not assumed.
Main entry points: common_function.php Database helpers and mail · main_init.php Application bootstrap · add_quotation.php Quotation creation · add_customer.php Customer create/edit
Components 25
Access and navigation
- Sign-in and recovery
index.php - Home
home.php - Admin navigation
side_bar.php
Customer and product records
- Customer create/edit
add_customer.php - Customer editing
edit_customer.php - Customer listing
list_customer.php - Product create/edit
add_product.php - Product editing
edit_product.php - Product listing
list_product.php - Company lookup
company_ajax.php - Autocomplete lookup
autocomplete.php - Product detail lookup
detail_ajax.php
Quotation workflow
- Quotation creation
add_quotation.php - Quotation editing
edit_quotation.php - Quotation listing
list_quotation.php - Quotation print view
print_page.php
Shared runtime
- Application bootstrap
includes/main_init.php - CSRF tokens
includes/CsrfToken.php - Database helpers and mail
includes/common_function.php - Database connection
includes/dbconnection.php - Database configuration
includes/config.php - SMTP mail transport
includes/smtp/class.phpmailer.php - SMTP protocol client
includes/smtp/class.smtp.php
Other components
- Administrator
- MySQL database
Connections 31
- Administrator → Sign-in and recovery: signs in
index.php - Sign-in and recovery → Application bootstrap: initializes
index.php - Administrator → Customer create/edit: manages records
- Administrator → Product create/edit: manages stock
- Administrator → Quotation creation: creates quotation
- Quotation creation → Company lookup: requests company
add_quotation.php - Quotation editing → Company lookup: requests company
edit_quotation.php - Quotation creation → Autocomplete lookup: requests suggestions
add_quotation.php - Quotation editing → Autocomplete lookup: requests suggestions
edit_quotation.php - Customer create/edit → Autocomplete lookup: requests suggestions
add_customer.php - Customer create/edit → Product detail lookup: requests product details
add_customer.php - Customer editing → Product detail lookup: requests product details
edit_customer.php - Quotation creation → Quotation print view: redirects after save
add_quotation.php - Administrator → Quotation print view: prints saved quote
- Customer create/edit → Database helpers and mail: uses persistence helpers
- Customer editing → Database helpers and mail: uses persistence helpers
- Quotation creation → Database helpers and mail: uses persistence helpers
add_quotation.php - Quotation editing → Database helpers and mail: uses persistence helpers
edit_quotation.php - Application bootstrap → Database connection: connects database
includes/main_init.php - Application bootstrap → Database helpers and mail: loads helpers
includes/main_init.php - Application bootstrap → CSRF tokens: loads tokens
includes/main_init.php - Application bootstrap → SMTP mail transport: loads mailer
includes/main_init.php - Application bootstrap → SMTP protocol client: loads SMTP client
includes/main_init.php - Database connection → Database configuration: loads settings
includes/dbconnection.php - Database connection → MySQL database: opens connection
includes/dbconnection.php - Database helpers and mail → MySQL database: queries records
includes/common_function.php - Database helpers and mail → SMTP mail transport: sends email
includes/common_function.php - SMTP mail transport → SMTP protocol client: uses transport
includes/smtp/class.phpmailer.php - Administrator → Customer listing: views customers
- Administrator → Product listing: views products
- Administrator → Quotation listing: views quotations