Gitea 3 years ago
parent
commit
4562e5c904
100 changed files with 639 additions and 0 deletions
  1. +40
    -0
      application/admin/controller/AdvanceCharge.php
  2. +0
    -0
      application/admin/controller/CfChannelInfo.php
  3. +0
    -0
      application/admin/controller/CfHotelInfo.php
  4. +0
    -0
      application/admin/controller/CfItem.php
  5. +0
    -0
      application/admin/controller/CfRoomInfo.php
  6. +0
    -0
      application/admin/controller/CfRoomPlan.php
  7. +0
    -0
      application/admin/controller/CfSuplierInfo.php
  8. +40
    -0
      application/admin/controller/Deposit.php
  9. +0
    -0
      application/admin/controller/OrderHotel.php
  10. +0
    -0
      application/admin/controller/OrderItem.php
  11. +0
    -0
      application/admin/controller/OrderMain.php
  12. +0
    -0
      application/admin/controller/PaymentOrder.php
  13. +0
    -0
      application/admin/controller/Purchase.php
  14. +0
    -0
      application/admin/controller/PurchasePrice.php
  15. +0
    -0
      application/admin/controller/ReceiptOrder.php
  16. +0
    -0
      application/admin/controller/example/Baidumap.php
  17. +0
    -0
      application/admin/controller/example/Bootstraptable.php
  18. +0
    -0
      application/admin/controller/example/Colorbadge.php
  19. +0
    -0
      application/admin/controller/example/Controllerjump.php
  20. +0
    -0
      application/admin/controller/example/Customform.php
  21. +0
    -0
      application/admin/controller/example/Customsearch.php
  22. +0
    -0
      application/admin/controller/example/Cxselect.php
  23. +0
    -0
      application/admin/controller/example/Echarts.php
  24. +0
    -0
      application/admin/controller/example/Multitable.php
  25. +0
    -0
      application/admin/controller/example/Relationmodel.php
  26. +0
    -0
      application/admin/controller/example/Tablelink.php
  27. +0
    -0
      application/admin/controller/example/Tabletemplate.php
  28. +16
    -0
      application/admin/lang/zh-cn/advance_charge.php
  29. +0
    -0
      application/admin/lang/zh-cn/cf_channel_info.php
  30. +0
    -0
      application/admin/lang/zh-cn/cf_hotel_info.php
  31. +0
    -0
      application/admin/lang/zh-cn/cf_item.php
  32. +0
    -0
      application/admin/lang/zh-cn/cf_room_info.php
  33. +0
    -0
      application/admin/lang/zh-cn/cf_room_plan.php
  34. +0
    -0
      application/admin/lang/zh-cn/cf_suplier_info.php
  35. +15
    -0
      application/admin/lang/zh-cn/deposit.php
  36. +0
    -0
      application/admin/lang/zh-cn/order_hotel.php
  37. +0
    -0
      application/admin/lang/zh-cn/order_item.php
  38. +0
    -0
      application/admin/lang/zh-cn/order_main.php
  39. +0
    -0
      application/admin/lang/zh-cn/payment_order.php
  40. +0
    -0
      application/admin/lang/zh-cn/purchase.php
  41. +0
    -0
      application/admin/lang/zh-cn/purchase_price.php
  42. +0
    -0
      application/admin/lang/zh-cn/receipt_order.php
  43. +40
    -0
      application/admin/model/AdvanceCharge.php
  44. +0
    -0
      application/admin/model/Area.php
  45. +0
    -0
      application/admin/model/CfChannelInfo.php
  46. +0
    -0
      application/admin/model/CfHotelInfo.php
  47. +0
    -0
      application/admin/model/CfItem.php
  48. +0
    -0
      application/admin/model/CfRoomInfo.php
  49. +0
    -0
      application/admin/model/CfRoomPlan.php
  50. +0
    -0
      application/admin/model/CfSuplierInfo.php
  51. +40
    -0
      application/admin/model/Deposit.php
  52. +0
    -0
      application/admin/model/OrderHotel.php
  53. +0
    -0
      application/admin/model/OrderItem.php
  54. +0
    -0
      application/admin/model/OrderMain.php
  55. +0
    -0
      application/admin/model/PaymentOrder.php
  56. +0
    -0
      application/admin/model/Purchase.php
  57. +0
    -0
      application/admin/model/PurchasePrice.php
  58. +0
    -0
      application/admin/model/ReceiptOrder.php
  59. +27
    -0
      application/admin/validate/AdvanceCharge.php
  60. +0
    -0
      application/admin/validate/CfChannelInfo.php
  61. +0
    -0
      application/admin/validate/CfHotelInfo.php
  62. +0
    -0
      application/admin/validate/CfItem.php
  63. +0
    -0
      application/admin/validate/CfRoomInfo.php
  64. +0
    -0
      application/admin/validate/CfRoomPlan.php
  65. +0
    -0
      application/admin/validate/CfSuplierInfo.php
  66. +27
    -0
      application/admin/validate/Deposit.php
  67. +0
    -0
      application/admin/validate/OrderHotel.php
  68. +0
    -0
      application/admin/validate/OrderItem.php
  69. +0
    -0
      application/admin/validate/OrderMain.php
  70. +0
    -0
      application/admin/validate/PaymentOrder.php
  71. +0
    -0
      application/admin/validate/Purchase.php
  72. +0
    -0
      application/admin/validate/PurchasePrice.php
  73. +0
    -0
      application/admin/validate/ReceiptOrder.php
  74. +84
    -0
      application/admin/view/advance_charge/add.html
  75. +84
    -0
      application/admin/view/advance_charge/edit.html
  76. +35
    -0
      application/admin/view/advance_charge/index.html
  77. +0
    -0
      application/admin/view/cf_channel_info/add.html
  78. +0
    -0
      application/admin/view/cf_channel_info/edit.html
  79. +0
    -0
      application/admin/view/cf_channel_info/index.html
  80. +0
    -0
      application/admin/view/cf_hotel_info/add.html
  81. +0
    -0
      application/admin/view/cf_hotel_info/edit.html
  82. +0
    -0
      application/admin/view/cf_hotel_info/index.html
  83. +0
    -0
      application/admin/view/cf_item/add.html
  84. +0
    -0
      application/admin/view/cf_item/edit.html
  85. +0
    -0
      application/admin/view/cf_item/index.html
  86. +0
    -0
      application/admin/view/cf_room_info/add.html
  87. +0
    -0
      application/admin/view/cf_room_info/edit.html
  88. +0
    -0
      application/admin/view/cf_room_info/index.html
  89. +0
    -0
      application/admin/view/cf_room_plan/add.html
  90. +0
    -0
      application/admin/view/cf_room_plan/edit.html
  91. +0
    -0
      application/admin/view/cf_room_plan/index.html
  92. +0
    -0
      application/admin/view/cf_suplier_info/add.html
  93. +0
    -0
      application/admin/view/cf_suplier_info/edit.html
  94. +0
    -0
      application/admin/view/cf_suplier_info/index.html
  95. +78
    -0
      application/admin/view/deposit/add.html
  96. +78
    -0
      application/admin/view/deposit/edit.html
  97. +35
    -0
      application/admin/view/deposit/index.html
  98. +0
    -0
      application/admin/view/example/baidumap/index.html
  99. +0
    -0
      application/admin/view/example/baidumap/map.html
  100. +0
    -0
      application/admin/view/example/bootstraptable/detail.html

+ 40
- 0
application/admin/controller/AdvanceCharge.php View File

@@ -0,0 +1,40 @@
<?php

namespace app\admin\controller;

use app\common\controller\Backend;

/**
* 预付款记录管理
*
* @icon fa fa-circle-o
*/
class AdvanceCharge extends Backend
{
/**
* AdvanceCharge模型对象
* @var \app\admin\model\AdvanceCharge
*/
protected $model = null;

public function _initialize()
{
parent::_initialize();
$this->model = new \app\admin\model\AdvanceCharge;

}

public function import()
{
parent::import();
}

/**
* 默认生成的控制器所继承的父类中有index/add/edit/del/multi五个基础方法、destroy/restore/recyclebin三个回收站方法
* 因此在当前控制器中可不用编写增删改查的代码,除非需要自己控制这部分逻辑
* 需要将application/admin/library/traits/Backend.php中对应的方法复制到当前控制器,然后进行修改
*/

}

+ 0
- 0
application/admin/controller/CfChannelInfo.php View File


+ 0
- 0
application/admin/controller/CfHotelInfo.php View File


+ 0
- 0
application/admin/controller/CfItem.php View File


+ 0
- 0
application/admin/controller/CfRoomInfo.php View File


+ 0
- 0
application/admin/controller/CfRoomPlan.php View File


+ 0
- 0
application/admin/controller/CfSuplierInfo.php View File


+ 40
- 0
application/admin/controller/Deposit.php View File

@@ -0,0 +1,40 @@
<?php

namespace app\admin\controller;

use app\common\controller\Backend;

/**
* 押金管理
*
* @icon fa fa-circle-o
*/
class Deposit extends Backend
{
/**
* Deposit模型对象
* @var \app\admin\model\Deposit
*/
protected $model = null;

public function _initialize()
{
parent::_initialize();
$this->model = new \app\admin\model\Deposit;

}

public function import()
{
parent::import();
}

/**
* 默认生成的控制器所继承的父类中有index/add/edit/del/multi五个基础方法、destroy/restore/recyclebin三个回收站方法
* 因此在当前控制器中可不用编写增删改查的代码,除非需要自己控制这部分逻辑
* 需要将application/admin/library/traits/Backend.php中对应的方法复制到当前控制器,然后进行修改
*/

}

+ 0
- 0
application/admin/controller/OrderHotel.php View File


+ 0
- 0
application/admin/controller/OrderItem.php View File


+ 0
- 0
application/admin/controller/OrderMain.php View File


+ 0
- 0
application/admin/controller/PaymentOrder.php View File


+ 0
- 0
application/admin/controller/Purchase.php View File


+ 0
- 0
application/admin/controller/PurchasePrice.php View File


+ 0
- 0
application/admin/controller/ReceiptOrder.php View File


+ 0
- 0
application/admin/controller/example/Baidumap.php View File


+ 0
- 0
application/admin/controller/example/Bootstraptable.php View File


+ 0
- 0
application/admin/controller/example/Colorbadge.php View File


+ 0
- 0
application/admin/controller/example/Controllerjump.php View File


+ 0
- 0
application/admin/controller/example/Customform.php View File


+ 0
- 0
application/admin/controller/example/Customsearch.php View File


+ 0
- 0
application/admin/controller/example/Cxselect.php View File


+ 0
- 0
application/admin/controller/example/Echarts.php View File


+ 0
- 0
application/admin/controller/example/Multitable.php View File


+ 0
- 0
application/admin/controller/example/Relationmodel.php View File


+ 0
- 0
application/admin/controller/example/Tablelink.php View File


+ 0
- 0
application/admin/controller/example/Tabletemplate.php View File


+ 16
- 0
application/admin/lang/zh-cn/advance_charge.php View File

@@ -0,0 +1,16 @@
<?php

return [
'Id' => 'ID',
'Del_flag' => '是否删除',
'Create_time' => '创建时间',
'Update_time' => '更新时间',
'Create_id' => '创建用户id',
'Group_id' => '创建部门id',
'Supplier_id' => '供应商id',
'Balance' => '操作后的当前余额',
'Payment_ids' => '付款账单ids',
'Memo' => '备注',
'File' => '上传文件',
'Money' => '支出或存入'
];

+ 0
- 0
application/admin/lang/zh-cn/cf_channel_info.php View File


+ 0
- 0
application/admin/lang/zh-cn/cf_hotel_info.php View File


+ 0
- 0
application/admin/lang/zh-cn/cf_item.php View File


+ 0
- 0
application/admin/lang/zh-cn/cf_room_info.php View File


+ 0
- 0
application/admin/lang/zh-cn/cf_room_plan.php View File


+ 0
- 0
application/admin/lang/zh-cn/cf_suplier_info.php View File


+ 15
- 0
application/admin/lang/zh-cn/deposit.php View File

@@ -0,0 +1,15 @@
<?php

return [
'Id' => 'ID',
'Del_flag' => '是否删除',
'Create_time' => '创建时间',
'Update_time' => '更新时间',
'Create_id' => '创建用户id',
'Group_id' => '创建部门id',
'Payee_id' => '收款方id(供应商)',
'Memo' => '备注',
'File' => '上传文件地址',
'Status' => '状态:1:已付款;2:回收中;3:已回收',
'Amount' => '押金金额'
];

+ 0
- 0
application/admin/lang/zh-cn/order_hotel.php View File


+ 0
- 0
application/admin/lang/zh-cn/order_item.php View File


+ 0
- 0
application/admin/lang/zh-cn/order_main.php View File


+ 0
- 0
application/admin/lang/zh-cn/payment_order.php View File


+ 0
- 0
application/admin/lang/zh-cn/purchase.php View File


+ 0
- 0
application/admin/lang/zh-cn/purchase_price.php View File


+ 0
- 0
application/admin/lang/zh-cn/receipt_order.php View File


+ 40
- 0
application/admin/model/AdvanceCharge.php View File

@@ -0,0 +1,40 @@
<?php

namespace app\admin\model;

use think\Model;


class AdvanceCharge extends Model
{



// 表名
protected $name = 'advance_charge';
// 自动写入时间戳字段
protected $autoWriteTimestamp = false;

// 定义时间戳字段名
protected $createTime = false;
protected $updateTime = false;
protected $deleteTime = false;

// 追加属性
protected $append = [

];








}

+ 0
- 0
application/admin/model/Area.php View File


+ 0
- 0
application/admin/model/CfChannelInfo.php View File


+ 0
- 0
application/admin/model/CfHotelInfo.php View File


+ 0
- 0
application/admin/model/CfItem.php View File


+ 0
- 0
application/admin/model/CfRoomInfo.php View File


+ 0
- 0
application/admin/model/CfRoomPlan.php View File


+ 0
- 0
application/admin/model/CfSuplierInfo.php View File


+ 40
- 0
application/admin/model/Deposit.php View File

@@ -0,0 +1,40 @@
<?php

namespace app\admin\model;

use think\Model;


class Deposit extends Model
{



// 表名
protected $name = 'deposit';
// 自动写入时间戳字段
protected $autoWriteTimestamp = false;

// 定义时间戳字段名
protected $createTime = false;
protected $updateTime = false;
protected $deleteTime = false;

// 追加属性
protected $append = [

];








}

+ 0
- 0
application/admin/model/OrderHotel.php View File


+ 0
- 0
application/admin/model/OrderItem.php View File


+ 0
- 0
application/admin/model/OrderMain.php View File


+ 0
- 0
application/admin/model/PaymentOrder.php View File


+ 0
- 0
application/admin/model/Purchase.php View File


+ 0
- 0
application/admin/model/PurchasePrice.php View File


+ 0
- 0
application/admin/model/ReceiptOrder.php View File


+ 27
- 0
application/admin/validate/AdvanceCharge.php View File

@@ -0,0 +1,27 @@
<?php

namespace app\admin\validate;

use think\Validate;

class AdvanceCharge extends Validate
{
/**
* 验证规则
*/
protected $rule = [
];
/**
* 提示消息
*/
protected $message = [
];
/**
* 验证场景
*/
protected $scene = [
'add' => [],
'edit' => [],
];
}

+ 0
- 0
application/admin/validate/CfChannelInfo.php View File


+ 0
- 0
application/admin/validate/CfHotelInfo.php View File


+ 0
- 0
application/admin/validate/CfItem.php View File


+ 0
- 0
application/admin/validate/CfRoomInfo.php View File


+ 0
- 0
application/admin/validate/CfRoomPlan.php View File


+ 0
- 0
application/admin/validate/CfSuplierInfo.php View File


+ 27
- 0
application/admin/validate/Deposit.php View File

@@ -0,0 +1,27 @@
<?php

namespace app\admin\validate;

use think\Validate;

class Deposit extends Validate
{
/**
* 验证规则
*/
protected $rule = [
];
/**
* 提示消息
*/
protected $message = [
];
/**
* 验证场景
*/
protected $scene = [
'add' => [],
'edit' => [],
];
}

+ 0
- 0
application/admin/validate/OrderHotel.php View File


+ 0
- 0
application/admin/validate/OrderItem.php View File


+ 0
- 0
application/admin/validate/OrderMain.php View File


+ 0
- 0
application/admin/validate/PaymentOrder.php View File


+ 0
- 0
application/admin/validate/Purchase.php View File


+ 0
- 0
application/admin/validate/PurchasePrice.php View File


+ 0
- 0
application/admin/validate/ReceiptOrder.php View File


+ 84
- 0
application/admin/view/advance_charge/add.html View File

@@ -0,0 +1,84 @@
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Del_flag')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-del_flag" data-rule="required" class="form-control" name="row[del_flag]" type="number" value="0">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:date('Y-m-d H:i:s')}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Create_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-create_id" data-rule="required" data-source="create/index" class="form-control selectpage" name="row[create_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-group_id" data-rule="required" data-source="group/index" class="form-control selectpage" name="row[group_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Supplier_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-supplier_id" data-rule="required" data-source="supplier/index" class="form-control selectpage" name="row[supplier_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Balance')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-balance" data-rule="required" class="form-control" step="0.01" name="row[balance]" type="number" value="0.00">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Payment_ids')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-payment_ids" data-rule="required" data-source="payment/index" data-multiple="true" class="form-control selectpage" name="row[payment_ids]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Memo')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-memo" data-rule="required" class="form-control" name="row[memo]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('File')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="input-group">
<input id="c-file" data-rule="required" class="form-control" size="50" name="row[file]" type="text" value="">
<div class="input-group-addon no-border no-padding">
<span><button type="button" id="faupload-file" class="btn btn-danger faupload" data-input-id="c-file" data-multiple="false" data-preview-id="p-file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
<span><button type="button" id="fachoose-file" class="btn btn-primary fachoose" data-input-id="c-file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
</div>
<span class="msg-box n-right" for="c-file"></span>
</div>
<ul class="row list-inline faupload-preview" id="p-file"></ul>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-money" data-rule="required" class="form-control" step="0.01" name="row[money]" type="number" value="0.00">
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</form>

+ 84
- 0
application/admin/view/advance_charge/edit.html View File

@@ -0,0 +1,84 @@
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Del_flag')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-del_flag" data-rule="required" class="form-control" name="row[del_flag]" type="number" value="{$row.del_flag|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Create_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-create_id" data-rule="required" data-source="create/index" class="form-control selectpage" name="row[create_id]" type="text" value="{$row.create_id|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-group_id" data-rule="required" data-source="group/index" class="form-control selectpage" name="row[group_id]" type="text" value="{$row.group_id|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Supplier_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-supplier_id" data-rule="required" data-source="supplier/index" class="form-control selectpage" name="row[supplier_id]" type="text" value="{$row.supplier_id|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Balance')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-balance" data-rule="required" class="form-control" step="0.01" name="row[balance]" type="number" value="{$row.balance|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Payment_ids')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-payment_ids" data-rule="required" data-source="payment/index" data-multiple="true" class="form-control selectpage" name="row[payment_ids]" type="text" value="{$row.payment_ids|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Memo')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-memo" data-rule="required" class="form-control" name="row[memo]" type="text" value="{$row.memo|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('File')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="input-group">
<input id="c-file" data-rule="required" class="form-control" size="50" name="row[file]" type="text" value="{$row.file|htmlentities}">
<div class="input-group-addon no-border no-padding">
<span><button type="button" id="faupload-file" class="btn btn-danger faupload" data-input-id="c-file" data-multiple="false" data-preview-id="p-file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
<span><button type="button" id="fachoose-file" class="btn btn-primary fachoose" data-input-id="c-file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
</div>
<span class="msg-box n-right" for="c-file"></span>
</div>
<ul class="row list-inline faupload-preview" id="p-file"></ul>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-money" data-rule="required" class="form-control" step="0.01" name="row[money]" type="number" value="{$row.money|htmlentities}">
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</form>

+ 35
- 0
application/admin/view/advance_charge/index.html View File

@@ -0,0 +1,35 @@
<div class="panel panel-default panel-intro">
{:build_heading()}

<div class="panel-body">
<div id="myTabContent" class="tab-content">
<div class="tab-pane fade active in" id="one">
<div class="widget-body no-padding">
<div id="toolbar" class="toolbar">
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('advance_charge/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('advance_charge/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('advance_charge/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
<a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('advance_charge/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>

<div class="dropdown btn-group {:$auth->check('advance_charge/multi')?'':'hide'}">
<a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
<ul class="dropdown-menu text-left" role="menu">
<li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
<li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
</ul>
</div>

</div>
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
data-operate-edit="{:$auth->check('advance_charge/edit')}"
data-operate-del="{:$auth->check('advance_charge/del')}"
width="100%">
</table>
</div>
</div>

</div>
</div>
</div>

+ 0
- 0
application/admin/view/cf_channel_info/add.html View File


+ 0
- 0
application/admin/view/cf_channel_info/edit.html View File


+ 0
- 0
application/admin/view/cf_channel_info/index.html View File


+ 0
- 0
application/admin/view/cf_hotel_info/add.html View File


+ 0
- 0
application/admin/view/cf_hotel_info/edit.html View File


+ 0
- 0
application/admin/view/cf_hotel_info/index.html View File


+ 0
- 0
application/admin/view/cf_item/add.html View File


+ 0
- 0
application/admin/view/cf_item/edit.html View File


+ 0
- 0
application/admin/view/cf_item/index.html View File


+ 0
- 0
application/admin/view/cf_room_info/add.html View File


+ 0
- 0
application/admin/view/cf_room_info/edit.html View File


+ 0
- 0
application/admin/view/cf_room_info/index.html View File


+ 0
- 0
application/admin/view/cf_room_plan/add.html View File


+ 0
- 0
application/admin/view/cf_room_plan/edit.html View File


+ 0
- 0
application/admin/view/cf_room_plan/index.html View File


+ 0
- 0
application/admin/view/cf_suplier_info/add.html View File


+ 0
- 0
application/admin/view/cf_suplier_info/edit.html View File


+ 0
- 0
application/admin/view/cf_suplier_info/index.html View File


+ 78
- 0
application/admin/view/deposit/add.html View File

@@ -0,0 +1,78 @@
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Del_flag')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-del_flag" data-rule="required" class="form-control" name="row[del_flag]" type="number" value="0">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:date('Y-m-d H:i:s')}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Create_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-create_id" data-rule="required" data-source="create/index" class="form-control selectpage" name="row[create_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-group_id" data-rule="required" data-source="group/index" class="form-control selectpage" name="row[group_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Payee_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-payee_id" data-rule="required" data-source="payee/index" class="form-control selectpage" name="row[payee_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Memo')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-memo" data-rule="required" class="form-control" name="row[memo]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('File')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="input-group">
<input id="c-file" class="form-control" size="50" name="row[file]" type="text">
<div class="input-group-addon no-border no-padding">
<span><button type="button" id="faupload-file" class="btn btn-danger faupload" data-input-id="c-file" data-multiple="false" data-preview-id="p-file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
<span><button type="button" id="fachoose-file" class="btn btn-primary fachoose" data-input-id="c-file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
</div>
<span class="msg-box n-right" for="c-file"></span>
</div>
<ul class="row list-inline faupload-preview" id="p-file"></ul>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Amount')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-amount" data-rule="required" class="form-control" step="0.01" name="row[amount]" type="number" value="0.00">
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</form>

+ 78
- 0
application/admin/view/deposit/edit.html View File

@@ -0,0 +1,78 @@
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Del_flag')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-del_flag" data-rule="required" class="form-control" name="row[del_flag]" type="number" value="{$row.del_flag|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Create_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-create_id" data-rule="required" data-source="create/index" class="form-control selectpage" name="row[create_id]" type="text" value="{$row.create_id|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-group_id" data-rule="required" data-source="group/index" class="form-control selectpage" name="row[group_id]" type="text" value="{$row.group_id|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Payee_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-payee_id" data-rule="required" data-source="payee/index" class="form-control selectpage" name="row[payee_id]" type="text" value="{$row.payee_id|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Memo')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-memo" data-rule="required" class="form-control" name="row[memo]" type="text" value="{$row.memo|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('File')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="input-group">
<input id="c-file" class="form-control" size="50" name="row[file]" type="text" value="{$row.file|htmlentities}">
<div class="input-group-addon no-border no-padding">
<span><button type="button" id="faupload-file" class="btn btn-danger faupload" data-input-id="c-file" data-multiple="false" data-preview-id="p-file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
<span><button type="button" id="fachoose-file" class="btn btn-primary fachoose" data-input-id="c-file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
</div>
<span class="msg-box n-right" for="c-file"></span>
</div>
<ul class="row list-inline faupload-preview" id="p-file"></ul>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number" value="{$row.status|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Amount')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-amount" data-rule="required" class="form-control" step="0.01" name="row[amount]" type="number" value="{$row.amount|htmlentities}">
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</form>

+ 35
- 0
application/admin/view/deposit/index.html View File

@@ -0,0 +1,35 @@
<div class="panel panel-default panel-intro">
{:build_heading()}

<div class="panel-body">
<div id="myTabContent" class="tab-content">
<div class="tab-pane fade active in" id="one">
<div class="widget-body no-padding">
<div id="toolbar" class="toolbar">
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('deposit/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('deposit/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('deposit/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
<a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('deposit/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>

<div class="dropdown btn-group {:$auth->check('deposit/multi')?'':'hide'}">
<a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
<ul class="dropdown-menu text-left" role="menu">
<li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
<li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
</ul>
</div>

</div>
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
data-operate-edit="{:$auth->check('deposit/edit')}"
data-operate-del="{:$auth->check('deposit/del')}"
width="100%">
</table>
</div>
</div>

</div>
</div>
</div>

+ 0
- 0
application/admin/view/example/baidumap/index.html View File


+ 0
- 0
application/admin/view/example/baidumap/map.html View File


+ 0
- 0
application/admin/view/example/bootstraptable/detail.html View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save