Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

132 wiersze
4.0 KiB

  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model backend\modules\hotel\models\OrderMain */
  6. $this->title = $model->ID;
  7. $this->params['breadcrumbs'][] = ['label' => 'Order Mains', 'url' => ['index']];
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <div class="order-main-view">
  11. <h1><?= Html::encode($this->title) ?></h1>
  12. <p>
  13. <?= Html::a('Update', ['update', 'id' => $model->ID], ['class' => 'btn btn-primary']) ?>
  14. <?= Html::a('Delete', ['delete', 'id' => $model->ID], [
  15. 'class' => 'btn btn-danger',
  16. 'data' => [
  17. 'confirm' => 'Are you sure you want to delete this item?',
  18. 'method' => 'post',
  19. ],
  20. ]) ?>
  21. </p>
  22. <?= DetailView::widget([
  23. 'model' => $model,
  24. 'attributes' => [
  25. 'ID',
  26. 'CANCEL_FLAG',
  27. 'MAIN_CREATE_USER_ID',
  28. 'CREATE_USER_ID',
  29. 'CREATE_TIME',
  30. 'UPDATE_USER_ID',
  31. 'UPDATE_TIME',
  32. 'SALE_ORG_ID',
  33. 'SALE_TOP_ORG_ID',
  34. 'PROD_TOP_ORG_ID',
  35. 'ORDER_ID',
  36. 'ORDER_DESCRIPTION:ntext',
  37. 'OUTSIDE_ORDER_NO',
  38. 'ORDER_VALID_STATUS',
  39. 'ORDER_BOOK_STATUS',
  40. 'ORDER_PAY_STATUS',
  41. 'ORDER_PAY_MAIN_ID',
  42. 'ORDER_PAY_USER_ID',
  43. 'ORDER_PAY_TIME',
  44. 'ORDER_PRINT_TIMES:datetime',
  45. 'PARENT_ORDER_ID',
  46. 'PROD_ID',
  47. 'PARENT_PROD_ID',
  48. 'PROD_NAME',
  49. 'PARENT_PROD_NAME',
  50. 'ORDER_PRICE',
  51. 'ORDER_PROD_TYPE',
  52. 'PROD_SUPPLY_ORG_NAME',
  53. 'BASE_PRICE',
  54. 'MID_PRICE',
  55. 'RUN_ID',
  56. 'RUN_DATE',
  57. 'RUN_DATE_NUM',
  58. 'RUN_TIME',
  59. 'RUN_TIME_MINUTES:datetime',
  60. 'RUN_BUS_ORDER_ID',
  61. 'RUN_BUS_SEAT_TYPE',
  62. 'RUN_BUS_SEAT_SEQ_ID',
  63. 'RUN_BUS_SEAT_ID',
  64. 'RUN_BUS_SEAT_NAME',
  65. 'PROD_START_STATION_RES_ID',
  66. 'PROD_START_STATION_RES_NAME',
  67. 'PROD_START_STATION_CHECKPORT_RES_ID',
  68. 'PROD_START_STATION_CHECKPORT_RES_NAME',
  69. 'PROD_START_STATION_SEQ_ID',
  70. 'PROD_START_STATION_DATE',
  71. 'PROD_START_STATION_DATE_NUM',
  72. 'PROD_START_STATION_TIME',
  73. 'PROD_START_STATION_TIME_MINUTES:datetime',
  74. 'PROD_START_STATION_AREA_ID',
  75. 'PROD_START_STATION_AREA_NAME',
  76. 'PROD_END_STATION_RES_ID',
  77. 'PROD_END_STATION_RES_NAME',
  78. 'PROD_END_STATION_SEQ_ID',
  79. 'PROD_END_STATION_DATE',
  80. 'PROD_END_STATION_DATE_NUM',
  81. 'PROD_END_STATION_TIME',
  82. 'PROD_END_STATION_TIME_MINUTES:datetime',
  83. 'PROD_END_STATION_AREA_ID',
  84. 'PROD_END_STATION_AREA_NAME',
  85. 'CUSTOMER_NAME',
  86. 'CUSTOMER_SEX',
  87. 'CUSTOMER_MOBILE',
  88. 'CUSTOMER_ID_TYPE',
  89. 'CUSTOMER_ID_NO',
  90. 'CUSTOMER_ADDRESS',
  91. 'CUSTOMER_ADDRESS_AREA_ID',
  92. 'CUSTOMER_POSTCODE',
  93. 'CUSTOMER_MEMO',
  94. 'MEMBER_ID',
  95. 'MEMBER_SCORE_PAY',
  96. 'MEMBER_SCORE_GET',
  97. 'ORDER_STATUS',
  98. 'ORDER_DISABLE_TYPE',
  99. 'ORDER_DISABLE_USER_ID',
  100. 'ORDER_DISABLE_TIME',
  101. 'ORDER_DISABLE_PERCENT',
  102. 'ORDER_DISABLE_FEE',
  103. 'ORDER_DISABLE_APPLY_USER_ID',
  104. 'ORDER_DISABLE_APPLY_TIME',
  105. 'KEEP_END_TIME',
  106. 'KEEP_END_MINUTES',
  107. 'if_gift',
  108. 'reorder_times:datetime',
  109. 'IF_LAST_PROD',
  110. 'ORDER_LEVEL',
  111. 'ORDER_CONFIRM_CODE',
  112. 'OUTSIDE_SALE_ORG_ID',
  113. 'IS_UP',
  114. 'APPLY_ID',
  115. 'SALES_MAN',
  116. 'RECEIVE_VALUE',
  117. 'REAL_PASSENGER_NUM',
  118. 'STOCK_TYPE',
  119. 'REFUSE_FLAG',
  120. 'PROFIT_VALUE',
  121. 'TOTAL_COMMISSION',
  122. ],
  123. ]) ?>
  124. </div>