Metadata-Version: 2.4
Name: otapp-pdf
Version: 2.1.6
Summary: Ung dung dang ky lam them gio & xuat phieu xuat kho Kaken
Author: Mixerod
License: MIT
Keywords: pdf,excel,overtime,warehouse,slip,pywebview
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Win32 (MS Windows)
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Office/Business
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: pywebview==6.2.1
Requires-Dist: openpyxl==3.1.5
Requires-Dist: fastapi==0.128.8
Requires-Dist: uvicorn==0.52.4
Requires-Dist: websockets==17.0.1
Requires-Dist: httpx==0.28.1
Requires-Dist: pydantic==2.12.5
Requires-Dist: pythonnet==3.1.0
Requires-Dist: PyMuPDF==1.27.2.3
Requires-Dist: pywin32>=306; platform_system == "Windows"

﻿# OTAPP_PDF

Ứng dụng chuyên biệt hỗ trợ lập, quản lý và xuất Phiếu Đăng Ký Làm Thêm Giờ (PDF) & Phiếu Xuất Kho (Excel / PDF) tốc độ cao.

## Tính năng chính
- **Giao diện trực quan**: Dựng trên nền tảng PyWebView / Microsoft Edge WebView2 mượt mà, thân thiện.
- **Tốc độ xử lý siêu nhanh**: Điền dữ liệu vào PDF A5 trực tiếp bằng PyMuPDF và phẫu thuật XML Excel không cần cài đặt phần mềm nặng.
- **Đồng bộ hóa 2 chiều**: Hỗ trợ đồng bộ hóa dữ liệu thời gian thực giữa các máy qua mạng LAN.
- **Tự động làm sạch**: Quản lý file tạm và nhật ký hoạt động thông minh, không làm rác bộ nhớ máy tính.

## Cài đặt
Cài đặt trực tiếp qua pip:
`ash
pip install otapp-pdf
`

## Khởi chạy ứng dụng
Chỉ cần mở Terminal (Command Prompt hoặc PowerShell) và gõ:
`ash
otapp
`

Hoặc chạy qua Python module:
`ash
python -m otapp
`

## Cập nhật phiên bản mới
`ash
pip install --upgrade otapp-pdf
`

## Mẫu biểu (Templates)
Ứng dụng sử dụng 2 mẫu biểu chuẩn:
1. Overtime Registration Form (A5).pdf (Phiếu Tăng Ca)
2. PHIẾU XUẤT KHO 1.5.xlsm (Phiếu Xuất Kho)

Người dùng có thể đặt các file mẫu trên vào thư mục dữ liệu cá nhân %APPDATA%\OTAPP_PDF\templates\ hoặc thư mục làm việc hiện tại.
