config.js 872B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. export const optionStatus = [
  2. {
  3. label: 'pending',
  4. value: 'pending',
  5. },
  6. {
  7. label: 'success',
  8. value: 'success',
  9. },
  10. ]
  11. export const indexTable = [
  12. { field: 'updatedAt', header: 'Tanggal' },
  13. { field: 'number', header: 'Nomor Penjualan' },
  14. { field: 'status', header: 'Status' },
  15. { field: 'price', header: 'Harga' },
  16. { field: 'qty', header: 'Kuantitas' },
  17. { field: 'ppn', header: 'PPN' },
  18. { field: 'productName', header: 'Nama Produk' },
  19. { field: 'productNumber', header: 'Nomor Produk' },
  20. ]
  21. export const cartTable = [
  22. { field: 'number', header: 'Nomor Produk' },
  23. { field: 'name', header: 'Produk' },
  24. { field: 'price', header: 'Harga' },
  25. { field: 'quantity', header: 'Kuantitas' },
  26. ]
  27. export const dialogStyle = {
  28. style: {
  29. width: '50vw',
  30. },
  31. breakpoints: {
  32. '960px': '75vw',
  33. '640px': '90vw',
  34. },
  35. modal: true,
  36. }