feat: add stock movement on backend
This commit is contained in:
@@ -64,3 +64,5 @@ export const updateOrderStatus = (id, data) =>
|
||||
axios.patch(`${API_URL}/admin/orders/${id}`, data);
|
||||
export const registerAdmin = (data) =>
|
||||
axios.post(`${API_URL}/admin/register`, data);
|
||||
|
||||
export const stockIn = (data) => axios.post(`${API_URL}/admin/stock/in`, data)
|
||||
|
||||
@@ -64,7 +64,7 @@ export default function ItemPage() {
|
||||
<main className="px-6 md:px-16 grow w-full mb-10 text-white">
|
||||
<div className="flex flex-col md:flex-row gap-8 md:gap-12 mt-6">
|
||||
{/* ЛЕВО — фото */}
|
||||
<div className="md:w-1/2">
|
||||
<div className="md:w-1/4">
|
||||
<img
|
||||
src={item.avatar_url}
|
||||
alt={item.name}
|
||||
@@ -73,7 +73,7 @@ export default function ItemPage() {
|
||||
</div>
|
||||
|
||||
{/* ПРАВО — всё инфо в одной колонке */}
|
||||
<div className="md:w-1/2 flex flex-col">
|
||||
<div className="md:w-3/4 flex flex-col">
|
||||
<h1 className="text-2xl md:text-4xl font-medium uppercase mb-3">
|
||||
{item.name}
|
||||
</h1>
|
||||
|
||||
Reference in New Issue
Block a user