config.js 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. export const optionStatus = [
  2. {
  3. label: 'pending',
  4. value: 'pending',
  5. },
  6. {
  7. label: 'success',
  8. value: 'success',
  9. },
  10. ]
  11. export const filterOptionStatus = [
  12. null,
  13. {
  14. label: 'pending',
  15. value: 'pending',
  16. },
  17. {
  18. label: 'success',
  19. value: 'success',
  20. },
  21. ]
  22. export const indexTable = [
  23. { field: 'updatedAt', header: 'Tanggal' },
  24. { field: 'name', header: 'Nama Supplier' },
  25. { field: 'phone', header: 'No HP Supplier' },
  26. { field: 'email', header: 'Email Supplier' },
  27. { field: 'price', header: 'Total Harga' },
  28. { field: 'status', header: 'Status' },
  29. ]
  30. export const cartTable = [
  31. { field: 'number', header: 'Nomor Produk' },
  32. { field: 'name', header: 'Produk' },
  33. { field: 'price', header: 'Harga' },
  34. { field: 'qty', header: 'Kuantitas' },
  35. { field: 'unit', header: 'Satuan' },
  36. ]
  37. export const reportTable = [
  38. { field: 'updatedAt', header: 'Tanggal' },
  39. { field: 'totalPrice', header: 'Total Harga' },
  40. { field: 'qty', header: 'Kuantitas' },
  41. { field: 'status', header: 'Status' },
  42. ]