stone-tax

byMicro Mind

Perfect! I've created a complete PHP-based IRIS Income Tax Return Filing System. Here's what I've built: Complete Application Structure Created Files: Database Setup (database.sql) Users, Tax Returns, Messages, Documents tables Withholding Statements & Sales Invoices Payments & Audit Log Default admin user Configuration config/database.php - MySQL connection config/session.php - Session management Authentication login.php - User login register.php - User registration logout.php - Logout functionality Main Features index.php - Dashboard profile.php - Profile management tax-returns.php - Tax return listing tax-return-file.php - File/edit returns tax-return-view.php - View return details messages.php - Inbox/Outbox system payments.php - Payment tracking Frontend assets/css/style.css - Modern responsive design matching IRIS assets/js/dashboard.js - Interactive features includes/header.php - Navigation header Documentation - Complete README with setup instructions Quick Setup for WampServer Step 1: Create folder C:\wamp64\www\iris\ Step 2: Place all files in that folder Step 3: Import database: Open http://localhost/phpmyadmin Create new database: iris_tax_system Import database.sql Step 4: Access application: http://localhost/iris/ Login Credentials: Username: admin Password: admin123 Key Features Ready to Use ✓ Multi-level dashboard with 7 action cards ✓ Tax return filing and tracking ✓ Inbox/Outbox/Draft messaging ✓ Profile management with password change ✓ User registration system ✓ Responsive design for all devices ✓ Data validation & security ✓ Audit logging system The application is fully functional and ready to run on localhost. All database connections use standard MySQL with no special requirements beyond WampServer

LandingLoginClientsDashboardDocumentsPaymentsWithholdingMessagesUsersReturnsAudit LogProfile
Landing

Comments (0)

No comments yet. Be the first!

Project Tasks22

#1

Implement Theme & Base Structure

To Do

As a frontend developer, I want to implement the global theme, color palette, typography, and base layout structure so that all pages look exactly identical to the mock-design pages. This includes setting up Tailwind CSS custom config with the brand colors (#1B3A6B, #00A651, #F5F7FA, #1A1A2E), Inter/Poppins/Roboto fonts, sidebar navigation, and removing any pages not present in the design. This task is independent and must be completed first before any other page-level tasks.

AI 85%
Human 15%
High Priority
2 days
AI Credits:7
Frontend Developer
#4

Build Dashboard Page

To Do

As a user, I want to see a multi-level dashboard with 7 action cards upon login so that I can quickly navigate to key modules. Implement the Dashboard page based on the existing JSX design (Dashboard v1). Includes IRIS-style file folder action cards with 3D hover/tilt, virtual desk surface, color-shifting navbar accent stripe, and role-specific views (Admin: system stats, Consultant: client overview, Accountant: analytics, User: action cards).

Depends on:#1
Waiting for dependencies
AI 88%
Human 12%
High Priority
2.5 days
AI Credits:8
Frontend Developer
#3

Build Login Page

To Do

As a user, I want to securely log in using my username and password so that I can access my dashboard. Implement the Login page based on the existing JSX design (Login v1). Includes floating card with embossed texture, hover shadow effect, and role-based stamp animation on success. Links from Landing page to Dashboard.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
1 day
AI Credits:5
Frontend Developer
#2

Build Landing Page

To Do

As a user, I want to see a visually compelling landing/registration page so that I can register a new account with my NTN/CNIC and personal details. Implement the Landing page based on the existing JSX design (Landing v1). Includes animated blueprint grid background, Pakistan Green crescent watermark, and registration form. Links to Login page.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
1.5 days
AI Credits:6
Frontend Developer
#7

Build Messages Page

To Do

As a user, I want to send, receive, and draft messages so that I can communicate with my tax consultant or clients. Implement the Messages page based on the existing JSX design (Messages v1). Includes Inbox, Outbox, and Drafts tabs. Paper airplane micro-animation on draft save, envelope-open animation on new message notification. Admin can broadcast announcements.

Depends on:#4
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#11

Build Profile Page

To Do

As a user, I want to view and update my profile information and change my password so that I can keep my account details current. Implement the Profile page based on the existing JSX design (Profile v1). Includes NTN/CNIC fields, password change form with inline validation, and Tax Consultant client list management section.

Depends on:#4
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1 day
AI Credits:5
Frontend Developer
#13

Build Audit Log Page

To Do

As an Admin, I want to view a complete audit log of all user actions so that I can monitor system activity for security and compliance. Implement the Audit Log page based on the existing JSX design (Audit Log v1). Includes chronological table with typewriter entry animation, filters by user/action/date, and timestamp display in PKT (Asia/Karachi).

Depends on:#4
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1 day
AI Credits:5
Frontend Developer
#14

Implement Auth & User Management API

To Do

As a backend developer, I want to implement FastAPI endpoints for user registration, login (JWT), logout, role management, and RBAC middleware so that the frontend authentication and user management pages have a secure API layer. Includes NTN/CNIC registration, bcrypt password hashing, JWT token issuance with 30-min inactivity expiry, Redis session store, and role-based route guards.

Depends on:#3#2
Waiting for dependencies
AI 80%
Human 20%
High Priority
2 days
AI Credits:7
Backend Developer
#5

Build Returns Page

To Do

As a user, I want to file, edit, view, and track income tax returns so that I can manage my annual ITR submissions. Implement the Returns page based on the existing JSX design (Returns v1). Includes filing wizard with highlighter-style field focus, green checkmark stamps on completed sections, and 'FILED' stamp animation on submission. Supports draft editing and status tracking. Tax Consultant can file on behalf of clients.

Depends on:#4
Waiting for dependencies
AI 85%
Human 15%
High Priority
2.5 days
AI Credits:8
Frontend Developer
#8

Build Payments Page

To Do

As a user, I want to view my payment history and pending dues so that I can track my tax payment status. Implement the Payments page based on the existing JSX design (Payments v1). Includes payment history table with sorting/filtering, status badges (Pending, Paid, Overdue), and coin cascade micro-animation on payment confirmation. Consultant can track all client payments.

Depends on:#4
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#12

Build Users Page

To Do

As an Admin, I want to manage user accounts and assign roles so that I can control system access. Implement the Users page based on the existing JSX design (Users v1). Includes user listing table with role badges, edit role modal, account activation/deactivation, and inline search/filter. Only accessible by Admin role.

Depends on:#4
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#9

Build Documents Page

To Do

As a user, I want to upload and manage tax-related documents so that I can organize all my filing materials. Implement the Documents page based on the existing JSX design (Documents v1). Includes document upload interface, file listing with type icons, and access controls for Tax Consultants viewing client documents.

Depends on:#4
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#6

Build Clients Page

To Do

As a Tax Consultant or Accountant, I want to browse and manage my client list so that I can oversee all assigned clients' tax filings. Implement the Clients page based on the existing JSX design (Clients v1). Includes horizontal scrolling carousel of manila folder cards showing client initials, filing status tags, and hover peek animation revealing last filing date and outstanding amount.

Depends on:#4
Waiting for dependencies
AI 88%
Human 12%
High Priority
1.5 days
AI Credits:6
Frontend Developer
#21

Implement Audit Log API

To Do

As a backend developer, I want to implement FastAPI endpoints for audit log retrieval and automatic logging middleware so that all Create, Update, Delete actions are captured with user ID and PKT timestamp. Admin-only access with filtering by user, action type, and date range.

Depends on:#14
Waiting for dependencies
AI 80%
Human 20%
Medium Priority
1 day
AI Credits:5
Backend Developer
#10

Build Withholding Page

To Do

As a user, I want to view and manage my withholding statements so that I can track taxes deducted at source. Implement the Withholding page based on the existing JSX design (Withholding v1). Includes withholding statement table with PKR currency formatting, DD/MM/YYYY dates, and sales invoice management.

Depends on:#9
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#15

Implement Dashboard API

To Do

As a backend developer, I want to implement FastAPI endpoints that return role-specific dashboard data so that each user persona sees the correct statistics and action card data. Includes system stats for Admin, client overview for Tax Consultant, analytics summary for Accountant, and action card counts for Individual User.

Depends on:#14
Waiting for dependencies
AI 80%
Human 20%
High Priority
1.5 days
AI Credits:6
Backend Developer
#18

Implement Payments API

To Do

As a backend developer, I want to implement FastAPI endpoints for payment tracking so that users and consultants can view payment history, pending dues, and status updates. Includes PKR currency fields and transactional payment confirmation.

Depends on:#14
Waiting for dependencies
AI 80%
Human 20%
Medium Priority
1.5 days
AI Credits:6
Backend Developer
#19

Implement Documents & Withholding API

To Do

As a backend developer, I want to implement FastAPI endpoints for document upload/management and withholding statement CRUD so that users can manage their tax documents and consultants can access client documents. Includes sales invoice management and file storage via Docker volume.

Depends on:#14
Waiting for dependencies
AI 80%
Human 20%
Medium Priority
1.5 days
AI Credits:6
Backend Developer
#17

Implement Messaging API

To Do

As a backend developer, I want to implement FastAPI endpoints for the inbox, outbox, and drafts messaging system so that users can send, receive, and save messages. Includes admin broadcast endpoint, message threading, and draft persistence.

Depends on:#14
Waiting for dependencies
AI 80%
Human 20%
Medium Priority
1.5 days
AI Credits:6
Backend Developer
#16

Implement Tax Returns API

To Do

As a backend developer, I want to implement FastAPI CRUD endpoints for income tax returns so that users can file, edit drafts, view, and track return status. Includes transactional submission, status transitions (Draft → Filed → Approved/Rejected), and consultant proxy filing. All operations logged to audit log.

Depends on:#14
Waiting for dependencies
AI 80%
Human 20%
High Priority
2 days
AI Credits:7
Backend Developer
#20

Implement Profile Management API

To Do

As a backend developer, I want to implement FastAPI endpoints for profile viewing, updating, and password change so that users can keep their account details current. Includes NTN/CNIC fields, secure password update with bcrypt, and consultant client list management.

Depends on:#14
Waiting for dependencies
AI 80%
Human 20%
Medium Priority
1 day
AI Credits:5
Backend Developer
#22

Integrate Frontend with Backend APIs

To Do

As a frontend developer, I want to connect all React pages to their respective FastAPI backend endpoints so that the application uses live data instead of mock data. Includes Axios/fetch client setup, JWT token handling, error/toast notifications, loading states, and role-based route protection in React Router.

Depends on:#14#17#16#18#15#21#20#19
Waiting for dependencies
AI 75%
Human 25%
High Priority
3 days
AI Credits:8
Frontend Developer
Landing design preview

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.