@layout("/common/_container.html"){
|
<div class="row">
|
<div class="col-sm-12">
|
<div class="ibox float-e-margins">
|
<input hidden id="language" value="${language}">
|
<div class="ibox-title">
|
@if(language==1){
|
<h5>加盟商管理</h5>
|
@}
|
@if(language==2){
|
<h5>Franchisee management</h5>
|
@}
|
@if(language==3){
|
<h5>Manajemen franchisee</h5>
|
@}
|
|
|
</div>
|
<div class="ibox-content">
|
<div class="row row-lg">
|
<div class="col-sm-12">
|
<div class="row">
|
<div class="col-sm-3">
|
@if(language==1){
|
<#NameCon id="name" name="加盟商名称" />
|
@}
|
@if(language==2){
|
<#NameCon id="name" name="Franchisee name" />
|
@}
|
@if(language==3){
|
<#NameCon id="name" name="Nama franchisee" />
|
@}
|
|
|
</div>
|
<div class="col-sm-3">
|
@if(language==1){
|
<#NameCon id="account" name="账号" />
|
@}
|
@if(language==2){
|
<#NameCon id="account" name="Account" />
|
@}
|
@if(language==3){
|
<#NameCon id="account" name="Nomor Akun" />
|
@}
|
|
</div>
|
<div class="col-sm-3">
|
@if(language==1){
|
<#NameCon id="principalName" name="联系人" />
|
@}
|
@if(language==2){
|
<#NameCon id="principalName" name="Contacts" />
|
@}
|
@if(language==3){
|
<#NameCon id="principalName" name="Kontak" />
|
@}
|
|
</div>
|
<div class="col-sm-3">
|
@if(language==1){
|
<#NameCon id="principalPhone" name="联系电话" />
|
@}
|
@if(language==2){
|
<#NameCon id="principalPhone" name="Contact number" />
|
@}
|
@if(language==3){
|
<#NameCon id="principalPhone" name="Nomor kontak" />
|
@}
|
|
</div>
|
<div class="col-sm-3">
|
@if(language==1){
|
<#NameCon id="serviceStr" name="经营业务" />
|
@}
|
@if(language==2){
|
<#NameCon id="serviceStr" name="Operation business" />
|
@}
|
@if(language==3){
|
<#NameCon id="serviceStr" name="Bisnis" />
|
@}
|
|
</div>
|
|
<div class="col-sm-3">
|
|
@if(language==1){
|
<#SelectCon id="state" name="状态" >
|
<option value="">全部</option>
|
<option value="2">正常</option>
|
<option value="1">禁用</option>
|
</#SelectCon>
|
@}
|
@if(language==2){
|
<#SelectCon id="state" name="State" >
|
<option value="">All</option>
|
<option value="2">Normal</option>
|
<option value="1">Disable</option>
|
</#SelectCon>
|
@}
|
@if(language==3){
|
<#SelectCon id="state" name="Status" >
|
<option value="">Semua</option>
|
<option value="2">normal</option>
|
<option value="1">matikan</option>
|
</#SelectCon>
|
@}
|
|
</div>
|
<div class="col-sm-3">
|
|
@if(language==1){
|
<#button name="搜索" icon="fa-search" clickFun="Franchisee.search()"/>
|
<#button name="重置" icon="fa-trash" clickFun="Franchisee.resetSearch()" space="true"/>
|
@}
|
@if(language==2){
|
<#button name="Search" icon="fa-search" clickFun="Franchisee.search()"/>
|
<#button name="Reset" icon="fa-trash" clickFun="Franchisee.resetSearch()" space="true"/>
|
@}
|
@if(language==3){
|
<#button name="Pencarian" icon="fa-search" clickFun="Franchisee.search()"/>
|
<#button name="Mengatur ulang" icon="fa-trash" clickFun="Franchisee.resetSearch()" space="true"/>
|
@}
|
|
</div>
|
</div>
|
<div class="hidden-xs" id="FranchiseeTableToolbar" role="group">
|
@if(language==1){
|
@if(shiro.hasPermission("/tCompany/addFranchisee")){
|
<#button name="添加" icon="fa-plus" clickFun="Franchisee.addFranchisee()"/>
|
@}
|
@if(shiro.hasPermission("/tCompany/updateFranchisee")){
|
<#button name="修改" icon="fa-edit" clickFun="Franchisee.updateFranchisee()" space="true"/>
|
@}
|
@if(shiro.hasPermission("/tCompany/deleteFranchisee")){
|
<#button name="删除" icon="fa-remove" clickFun="Franchisee.deleteFranchisee()" space="true"/>
|
@}
|
@if(shiro.hasPermission("/tCompany/detailFranchisee")){
|
<#button name="查看详情" icon="fa-remove" clickFun="Franchisee.detailFranchisee()" space="true"/>
|
@}
|
@}
|
@if(language==2){
|
@if(shiro.hasPermission("/tCompany/addFranchisee")){
|
<#button name="Add" icon="fa-plus" clickFun="Franchisee.addFranchisee()"/>
|
@}
|
@if(shiro.hasPermission("/tCompany/updateFranchisee")){
|
<#button name="Update" icon="fa-edit" clickFun="Franchisee.updateFranchisee()" space="true"/>
|
@}
|
@if(shiro.hasPermission("/tCompany/deleteFranchisee")){
|
<#button name="Delete" icon="fa-remove" clickFun="Franchisee.deleteFranchisee()" space="true"/>
|
@}
|
@if(shiro.hasPermission("/tCompany/detailFranchisee")){
|
<#button name="View details" icon="fa-remove" clickFun="Franchisee.detailFranchisee()" space="true"/>
|
@}
|
@}
|
@if(language==3){
|
@if(shiro.hasPermission("/tCompany/addFranchisee")){
|
<#button name="Tambah" icon="fa-plus" clickFun="Franchisee.addFranchisee()"/>
|
@}
|
@if(shiro.hasPermission("/tCompany/updateFranchisee")){
|
<#button name="Sunting" icon="fa-edit" clickFun="Franchisee.updateFranchisee()" space="true"/>
|
@}
|
@if(shiro.hasPermission("/tCompany/deleteFranchisee")){
|
<#button name="Hapus" icon="fa-remove" clickFun="Franchisee.deleteFranchisee()" space="true"/>
|
@}
|
@if(shiro.hasPermission("/tCompany/detailFranchisee")){
|
<#button name="Melihat rincian" icon="fa-remove" clickFun="Franchisee.detailFranchisee()" space="true"/>
|
@}
|
@}
|
|
</div>
|
<#table id="FranchiseeTable"/>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<script src="${ctxPath}/modular/system/tCompany/franchisee.js"></script>
|
<script>
|
laydate.render({
|
elem: '#insertTime'
|
,range: true
|
});
|
</script>
|
@}
|