// useLibs
// noPage
import esp from 'esoftplay/esp';



export interface EventOrder_status {
  text: string,
  code: string,
  module: string,
  icon: string,
  publish: number
}

export default function m(): EventOrder_status[] {
  return [
    // {
    //   code: '0',
    //   text: esp.lang("event/order_status", "waiting_payment"),
    //   icon: 'icons/event/ic_notification_event_waiting.png',
    //   publish: esp.isDebug('') ? 0 : 1
    // },
    {
      code: '1',
      text: esp.lang("event/order_status", "already_paid"),
      module: 'event/order',
      icon: 'icons/event/ic_notification_event_payed.png',
      publish: 1
    },
    {
      code: '3',
      text: esp.lang("event/order_status", "done"),
      module: 'event/order',
      icon: 'icons/event/ic_notification_event_done.png',
      publish: 1
    },
    {
      code: '7',
      text: esp.lang("event/order_status", "expired"),
      module: 'event/order',
      icon: 'icons/event/ic_notification_event_done.png',
      publish: 1
    },
    {
      code: '2,4',
      text: esp.lang("event/order_status", "cancel"),
      module: 'event/order',
      icon: 'icons/event/ic_notification_event_cancel.png',
      publish: 1
    },
    {
      code: '5',
      text: esp.lang("event/order_status", "refund"),
      module: 'event/order',
      icon: 'icons/event/ic_notification_event_done.png',
      publish: 1
    },
    {
      code: '6',
      text: esp.lang("event/order_status", "review"),
      module: 'event/review',
      icon: 'icons/event/ic_notification_event_done.png',
      publish: esp.isDebug("review") ? 1 : 0
    },
    {
      code: '10',
      text: esp.lang("event/order_status", "system_cancel"),
      module: 'event/order',
      icon: 'icons/event/ic_notification_event_cancel.png',
      publish: 1
    }
  ]
}