# El Sewedy In Sawa — Product Overview

**El Sewedy In Sawa** (in-app name; "Sawa" — سوا — means *"together"*) is an internal, employee-only mobile application built for **El Sewedy Industries Group**. El Sewedy Industries is an Egyptian industrial group established in 1938, operating across energy, manufacturing, building materials, real estate, and distribution.

The app is a Flutter project (package `elsewedy_in_sawa`, `MaterialApp` title **"Sawa"**, version **1.0.0+1**) targeting the Dart/Flutter SDK `^3.11.5`. It is intended for **authorized employees only**.

## The Problem It Solves

Human-resources interactions inside a large industrial group are typically scattered across paper forms, portals, and in-person visits. Sawa replaces those fragmented touchpoints with a **single self-service mobile hub**, giving each employee direct access to the HR functions they need day to day:

- **Attendance** — GPS-verified check-in / check-out with live shift information.
- **Leave & permission requests** — remote work, permissions, and annual leave.
- **Payroll statements** — monthly salary overview with earnings and deductions.
- **Organization chart** — an interactive view of managers, peers, and reports.
- **Profile management** — personal, professional, and general information.

## Who It Is For

The single in-app role is the **Employee**, who acts on their own data through an authenticated session. Administrator / HR functions (account approval, edit approval, leave decisions, access revocation) live in a **separate back-office system**; Sawa enforces the employee side of those workflows. See [USER_ROLES.md](./USER_ROLES.md) for the full breakdown.

## Product Highlights

| Area | What the app delivers |
|------|-----------------------|
| Attendance | Swipe check-in/out, geofenced work locations, monthly summary and day-by-day hours log |
| Requests | Remote work, permissions, and annual leave with balances, history, and a status calendar |
| Payroll | Multi-run monthly overview, earnings vs. deductions, net salary, month-range filter |
| Profile & Org | Employee data screens plus an interactive, cached organization chart |
| Experience | Full **English / Arabic** localization with automatic RTL, light & dark themes |

## Design & Brand

The interface is built on a Figma-extracted design system delivered as Flutter design tokens: a **navy `#161F6E`** primary, **cyan `#0DBFD6`** accent, and functional colors for check-in (green `#16C24D`) and check-out (red `#B21416`). Tokens ship as a `ThemeExtension` with complete light and dark sets. See [TECH_STACK.md](./TECH_STACK.md) and [ARCHITECTURE.md](./ARCHITECTURE.md) for implementation detail.

## Status at a Glance

Most modules are **live** (auth, home, attendance punch/geofencing, profile, hierarchy, settings, onboarding, payroll screens). Some capabilities are **prepared but not yet activated** — most notably Firebase Cloud Messaging push notifications, whose scaffold is present but fully commented out (see [FIREBASE.md](./FIREBASE.md)). The leave module's request submission is currently confirmation-based. This documentation set distinguishes live from prepared functionality throughout.

## Documentation Map

- [FEATURES.md](./FEATURES.md) — feature-by-feature breakdown
- [TECH_STACK.md](./TECH_STACK.md) — packages and tooling
- [ARCHITECTURE.md](./ARCHITECTURE.md) — layers, data flow, responsiveness
- [API_SUMMARY.md](./API_SUMMARY.md) — endpoints and auth model
- [USER_ROLES.md](./USER_ROLES.md) — employee vs. back-office roles
- [SECURITY.md](./SECURITY.md) — token model, storage, session guarding
- [DEPLOYMENT.md](./DEPLOYMENT.md) — hosting this portfolio site
- [SCREENSHOTS.md](./SCREENSHOTS.md) — the curated screen gallery
- [FIREBASE.md](./FIREBASE.md) — push notification status and activation
