add new request and add .example

This commit is contained in:
2025-09-17 16:47:19 -06:00
parent ba72417477
commit d0a3a9c365
10 changed files with 304 additions and 189 deletions
+6 -1
View File
@@ -1,6 +1,7 @@
'use client'
import { useEffect, useState } from "react";
import "./Receipt.css"
import { PostReceipt } from "@/app/lib/receipt";
function Receipt() {
const [folio, setFolio] = useState('');
@@ -46,11 +47,15 @@ function Receipt() {
}, [error]);
//fadeOut alert and error//
const handleSaveReceipt = ( )=>{
//PostReceipt(data{folio,amount,date})
}
return (
<form
onSubmit={(e) => {
e.preventDefault();
// handleSaveReceipt();
handleSaveReceipt();
}}
>