feat: payment & customer

This commit is contained in:
ferdiansyah783
2025-08-07 14:31:42 +07:00
parent a72a64215a
commit a5d22db27b
35 changed files with 2033 additions and 599 deletions
@@ -1,7 +1,8 @@
// MUI Imports
import StockListTable from "../../../../../../../../views/apps/ecommerce/stock/adjustment/StockListTable"
// Component Imports
import StockListTable from '../../../../../../../views/apps/stock/adjustment/StockListTable'
// Data Imports
@@ -1,7 +1,6 @@
// MUI Imports
// Component Imports
import StockListTable from '../../../../../../../views/apps/stock/list/StockListTable'
import StockListTable from "../../../../../../../../views/apps/ecommerce/stock/list/StockListTable"
// Data Imports
@@ -1,8 +1,8 @@
// Component Imports
import ProductUnitTable from '../../../../../../../../views/apps/ecommerce/products/units/ProductUnitTable'
import ProductIngredientTable from '../../../../../../../../views/apps/ecommerce/products/ingredient/ProductIngredientTable'
const eCommerceProductsIngredient = () => {
return <ProductUnitTable />
return <ProductIngredientTable />
}
export default eCommerceProductsIngredient
@@ -0,0 +1,25 @@
import PaymentMethodListTable from '../../../../../../../../views/apps/finance/payment-methods/list/PaymentMethodListTable'
/**
* ! If you need data using an API call, uncomment the below API code, update the `process.env.API_URL` variable in the
* ! `.env` file found at root of your project and also update the API endpoints like `/apps/ecommerce` in below example.
* ! Also, remove the above server action import and the action itself from the `src/app/server/actions.ts` file to clean up unused code
* ! because we've used the server action for getting our static data.
*/
/* const getEcommerceData = async () => {
// Vars
const res = await fetch(`${process.env.API_URL}/apps/ecommerce`)
if (!res.ok) {
throw new Error('Failed to fetch ecommerce data')
}
return res.json()
} */
const PaymentMethodListTablePage = async () => {
return <PaymentMethodListTable />
}
export default PaymentMethodListTablePage
@@ -0,0 +1,26 @@
/**
* ! If you need data using an API call, uncomment the below API code, update the `process.env.API_URL` variable in the
* ! `.env` file found at root of your project and also update the API endpoints like `/apps/ecommerce` in below example.
* ! Also, remove the above server action import and the action itself from the `src/app/server/actions.ts` file to clean up unused code
* ! because we've used the server action for getting our static data.
*/
import OrganizationOutletListTable from "../../../../../../../../views/apps/organization/outlets/list/OrganizationOutletListTable"
/* const getEcommerceData = async () => {
// Vars
const res = await fetch(`${process.env.API_URL}/apps/ecommerce`)
if (!res.ok) {
throw new Error('Failed to fetch ecommerce data')
}
return res.json()
} */
const OutletListTablePage = async () => {
return <OrganizationOutletListTable />
}
export default OutletListTablePage