Posts

Showing posts from July, 2025
import tkinter as tk from tkinter import ttk, messagebox class TransactionCalculator: def __init__(self, root): self.root = root self.root.title("Kiosk Transaction Calculator") self.data = [] # Table headers self.tree = ttk.Treeview(root, columns=("Type", "Amount", "Holding"), show="headings") self.tree.heading("Type", text="Type of Transaction") self.tree.heading("Amount", text="Amount") self.tree.heading("Holding", text="KO Holding") self.tree.pack(pady=10) # Input fields form_frame = tk.Frame(root) form_frame.pack(pady=10) tk.Label(form_frame, text="Transaction Type").grid(row=0, column=0, padx=5) self.type_entry = ttk.Combobox(form_frame, values=["AEPS Withdrawal", "Money Transfer", "Deposit"]) self.type_entr...
import { useState } from "react"; import { Button } from "@/components/ui/button"; import { Card, CardContent } from "@/components/ui/card"; import { Input } from "@/components/ui/input"; import { Upload, Download } from "lucide-react"; export default function PDFEditor() { const [file, setFile] = useState(null); const handleUpload = (e) => { setFile(e.target.files[0]); }; return ( Online PDF Editor Upload PDF {file && Selected: {file.name} } {/* Preview and Editor area (Placeholder) */} PDF Preview & Editing Area (Coming Soon) Download Edited PDF ); }