<?php
 return [
  'name' => 'pesanan',
  'label' => 'pesanan',
  'info' => 'untuk data pesanan yang di pesan',
  'type' => 'collection',
  'fields' => [
    0 => [
      'name' => 'nama_pembeli',
      'type' => 'text',
      'label' => 'nama_pembeli',
      'info' => 'berisi nama dari pembeli',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
        'multiline' => false,
        'showCount' => true,
        'readonly' => false,
        'placeholder' => NULL,
        'minlength' => NULL,
        'maxlength' => NULL,
        'list' => NULL,
      ],
    ],
    1 => [
      'name' => 'daftar_barang',
      'type' => 'wysiwyg',
      'label' => 'daftar_barang',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
      ],
    ],
    2 => [
      'name' => 'total_harga',
      'type' => 'number',
      'label' => 'total_harga',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
        'readonly' => false,
      ],
    ],
    3 => [
      'name' => 'tanggal',
      'type' => 'date',
      'label' => 'tanggal',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
      ],
    ],
    4 => [
      'name' => 'external_id',
      'type' => 'text',
      'label' => 'external_id',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
        'multiline' => false,
        'showCount' => true,
        'readonly' => false,
        'placeholder' => NULL,
        'minlength' => NULL,
        'maxlength' => NULL,
        'list' => NULL,
      ],
    ],
    5 => [
      'name' => 'status_pembayaran',
      'type' => 'text',
      'label' => 'status_pembayaran',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
        'multiline' => false,
        'showCount' => true,
        'readonly' => false,
        'placeholder' => NULL,
        'minlength' => NULL,
        'maxlength' => NULL,
        'list' => [
          0 => 'pending',
          1 => 'paid',
          2 => 'expired',
          3 => 'cancelled',
        ],
      ],
    ],
    6 => [
      'name' => 'status_pengiriman',
      'type' => 'text',
      'label' => 'status_pengiriman',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
        'multiline' => false,
        'showCount' => true,
        'readonly' => false,
        'placeholder' => NULL,
        'minlength' => NULL,
        'maxlength' => NULL,
        'list' => [
          0 => 'diterima',
          1 => 'packing',
          2 => 'kurir',
          3 => 'perjalanan',
          4 => 'selesai',
          5 => 'batal',
        ],
      ],
    ],
    7 => [
      'name' => 'pelanggan_id',
      'type' => 'contentItemLink',
      'label' => 'pelanggan_id',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
        'link' => 'pelanggan',
        'filter' => NULL,
      ],
    ],
    8 => [
      'name' => 'voucher_digunakan',
      'type' => 'text',
      'label' => 'voucher_digunakan',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
        'multiline' => false,
        'showCount' => true,
        'readonly' => false,
        'placeholder' => NULL,
        'minlength' => NULL,
        'maxlength' => NULL,
        'list' => NULL,
      ],
    ],
    9 => [
      'name' => 'diskon_didapat',
      'type' => 'number',
      'label' => 'diskon_didapat',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
      ],
    ],
    10 => [
      'name' => 'catatan_pelanggan',
      'type' => 'text',
      'label' => 'catatan_pelanggan',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
        'multiline' => false,
        'showCount' => true,
        'readonly' => false,
        'placeholder' => NULL,
        'minlength' => NULL,
        'maxlength' => NULL,
        'list' => NULL,
      ],
    ],
    11 => [
      'name' => 'resi_pengiriman',
      'type' => 'text',
      'label' => 'resi_pengiriman',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
        'multiline' => false,
        'showCount' => true,
        'readonly' => false,
        'placeholder' => NULL,
        'minlength' => NULL,
        'maxlength' => NULL,
        'list' => NULL,
      ],
    ],
    12 => [
      'name' => 'tanggal_bayar',
      'type' => 'datetime',
      'label' => 'tanggal_bayar',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
      ],
    ],
    13 => [
      'name' => 'status_history',
      'type' => 'set',
      'label' => 'status_history',
      'info' => '',
      'group' => '',
      'i18n' => false,
      'required' => false,
      'multiple' => false,
      'meta' => [
      ],
      'opts' => [
        'fields' => [
          0 => [
            'name' => 'status',
            'type' => 'text',
            'label' => 'status',
            'info' => '',
            'group' => '',
            'i18n' => false,
            'required' => false,
            'multiple' => false,
            'meta' => [
            ],
            'opts' => [
              'multiline' => false,
              'showCount' => true,
              'readonly' => false,
              'placeholder' => NULL,
              'minlength' => NULL,
              'maxlength' => NULL,
              'list' => NULL,
            ],
          ],
          1 => [
            'name' => 'timestamp',
            'type' => 'datetime',
            'label' => 'timestamp',
            'info' => '',
            'group' => '',
            'i18n' => false,
            'required' => false,
            'multiple' => false,
            'meta' => [
            ],
            'opts' => [
            ],
          ],
          2 => [
            'name' => 'note',
            'type' => 'wysiwyg',
            'label' => 'note',
            'info' => '',
            'group' => '',
            'i18n' => false,
            'required' => false,
            'multiple' => false,
            'meta' => [
            ],
            'opts' => [
            ],
          ],
        ],
      ],
    ],
  ],
  'preview' => [
  ],
  'group' => '',
  'meta' => NULL,
  '_created' => 1775055955,
  '_modified' => 1776752400,
  'color' => NULL,
  'revisions' => false,
];