Spaces:
Sleeping
Sleeping
Download frontend/src/features/app/AppModals.jsx from Caner7/Muhasebe: direct link, hf CLI and curl.
- Browser
- Download file 4.3 kB
-
https://huggingface.co/spaces/Caner7/Muhasebe/resolve/main/frontend/src/features/app/AppModals.jsx
- Command line
-
hf download hf://spaces/Caner7/Muhasebe/frontend/src/features/app/AppModals.jsx
-
curl -L -o AppModals.jsx https://huggingface.co/spaces/Caner7/Muhasebe/resolve/main/frontend/src/features/app/AppModals.jsx
4.3 kB
| import { OrderEditModal } from "./modals/OrderEditModal.jsx"; | |
| import { ExpenseEditModal } from "./modals/ExpenseEditModal.jsx"; | |
| import { ProductCostEditModal } from "./modals/ProductCostEditModal.jsx"; | |
| import { LumberTierEditModal } from "./modals/LumberTierEditModal.jsx"; | |
| import { LumberTransactionEditModal } from "./modals/LumberTransactionEditModal.jsx"; | |
| import { CompanyEditModal } from "./modals/CompanyEditModal.jsx"; | |
| import { TalashPriceEditModal } from "./modals/TalashPriceEditModal.jsx"; | |
| import { TalashSaleEditModal } from "./modals/TalashSaleEditModal.jsx"; | |
| import { TalashUnitCostEditModal } from "./modals/TalashUnitCostEditModal.jsx"; | |
| import { TalashExpenseEditModal } from "./modals/TalashExpenseEditModal.jsx"; | |
| /** Oturum boyunca üst üste açılabilen global modallar. */ | |
| export function AppModals({ app }) { | |
| return ( | |
| <> | |
| <OrderEditModal | |
| editingOrderId={app.editingOrderId} | |
| editOrderForm={app.editOrderForm} | |
| setEditOrderForm={app.setEditOrderForm} | |
| editOrderProductManual={app.editOrderProductManual} | |
| setEditOrderProductManual={app.setEditOrderProductManual} | |
| productCosts={app.productCosts} | |
| closeEditOrder={app.closeEditOrder} | |
| handleUpdateOrder={app.handleUpdateOrder} | |
| handleEditOrderProductSelect={app.handleEditOrderProductSelect} | |
| /> | |
| <ExpenseEditModal | |
| editingExpense={app.editingExpense} | |
| editExpenseForm={app.editExpenseForm} | |
| setEditExpenseForm={app.setEditExpenseForm} | |
| closeEditExpense={app.closeEditExpense} | |
| handleUpdateExpense={app.handleUpdateExpense} | |
| /> | |
| <ProductCostEditModal | |
| editingProductCost={app.editingProductCost} | |
| editProductCostForm={app.editProductCostForm} | |
| setEditProductCostForm={app.setEditProductCostForm} | |
| closeEditProductCost={app.closeEditProductCost} | |
| handleUpdateProductCost={app.handleUpdateProductCost} | |
| /> | |
| <LumberTierEditModal | |
| lumberRules={app.lumberRules} | |
| lumberTierEditor={app.lumberTierEditor} | |
| lumberTierForm={app.lumberTierForm} | |
| setLumberTierForm={app.setLumberTierForm} | |
| closeLumberTierEditor={app.closeLumberTierEditor} | |
| handleSaveLumberTier={app.handleSaveLumberTier} | |
| /> | |
| <CompanyEditModal | |
| editingCompany={app.editingCompany} | |
| editCompanyForm={app.editCompanyForm} | |
| setEditCompanyForm={app.setEditCompanyForm} | |
| closeEditCompany={app.closeEditCompany} | |
| handleUpdateCompany={app.handleUpdateCompany} | |
| /> | |
| <TalashPriceEditModal | |
| companies={app.companies} | |
| editingTalashPrice={app.editingTalashPrice} | |
| editTalashPriceForm={app.editTalashPriceForm} | |
| setEditTalashPriceForm={app.setEditTalashPriceForm} | |
| closeEditTalashPrice={app.closeEditTalashPrice} | |
| handleUpdateTalashPrice={app.handleUpdateTalashPrice} | |
| /> | |
| <TalashSaleEditModal | |
| companies={app.companies} | |
| editingTalashSale={app.editingTalashSale} | |
| editTalashSaleForm={app.editTalashSaleForm} | |
| setEditTalashSaleForm={app.setEditTalashSaleForm} | |
| closeEditTalashSale={app.closeEditTalashSale} | |
| handleUpdateTalashSale={app.handleUpdateTalashSale} | |
| /> | |
| <TalashUnitCostEditModal | |
| editingTalashUnitCost={app.editingTalashUnitCost} | |
| editTalashUnitCostForm={app.editTalashUnitCostForm} | |
| setEditTalashUnitCostForm={app.setEditTalashUnitCostForm} | |
| closeEditTalashUnitCost={app.closeEditTalashUnitCost} | |
| handleUpdateTalashUnitCost={app.handleUpdateTalashUnitCost} | |
| /> | |
| <TalashExpenseEditModal | |
| editingTalashExpense={app.editingTalashExpense} | |
| editTalashExpenseForm={app.editTalashExpenseForm} | |
| setEditTalashExpenseForm={app.setEditTalashExpenseForm} | |
| closeEditTalashExpense={app.closeEditTalashExpense} | |
| handleUpdateTalashExpense={app.handleUpdateTalashExpense} | |
| /> | |
| <LumberTransactionEditModal | |
| lumberRules={app.lumberRules} | |
| editingLumberTx={app.editingLumberTx} | |
| editLumberTxForm={app.editLumberTxForm} | |
| setEditLumberTxForm={app.setEditLumberTxForm} | |
| closeEditLumberTx={app.closeEditLumberTx} | |
| handleUpdateLumberTx={app.handleUpdateLumberTx} | |
| /> | |
| </> | |
| ); | |
| } | |