+
+ 404 Bill Not Found
+ Could not find the requested Bill.
+
+ Go Back
+
+
+ );
+}
\ No newline at end of file
diff --git a/app/bills/[id]/edit/page.tsx b/app/bills/[id]/edit/page.tsx
new file mode 100644
index 0000000..185a625
--- /dev/null
+++ b/app/bills/[id]/edit/page.tsx
@@ -0,0 +1,32 @@
+import { Location } from '@/app/lib/db-types';
+import clientPromise from '@/app/lib/mongodb';
+import { BillEditForm } from '@/app/ui/BillEditForm';
+import { ObjectId } from 'mongodb';
+import { notFound } from 'next/navigation';
+
+const fetchBillById = async (locationID:string, billID:string) => {
+ const client = await clientPromise;
+ const db = client.db("rezije");
+
+ // find a location with the given locationID
+ const billLocation = await db.collection