diff --git a/module/branch/view/batchedit.html.php b/module/branch/view/batchedit.html.php index c1164f13e4..805cc4619e 100644 --- a/module/branch/view/batchedit.html.php +++ b/module/branch/view/batchedit.html.php @@ -21,8 +21,8 @@ branch->id;?> - branch->name;?> - branch->desc;?> + branch->name, $lang->product->branchName[$product->type]);?> + branch->desc, $lang->product->branchName[$product->type]);?> branch->status;?> branch->defaultBranch;?> @@ -31,7 +31,7 @@ id == BRANCH_MAIN ? 'disabled' : '';?> - id == BRANCH_MAIN ? '' : $branch->id) . html::hidden("IDList[$branch->id]", $branch);?> + id == BRANCH_MAIN ? '' : $branch->id) . html::hidden("IDList[$branch->id]", $branch->id);?> id]", $branch->name, "class='form-control chosen' $disabled");?> id]", $branch->desc, "class='form-control' $disabled");?> id]", $lang->branch->statusList, $branch->status, "class='form-control' chosen $disabled onchange='canSetDefaultBranch(this)'");?> diff --git a/module/branch/view/create.html.php b/module/branch/view/create.html.php index db3a449ecc..899dc015ac 100644 --- a/module/branch/view/create.html.php +++ b/module/branch/view/create.html.php @@ -13,16 +13,16 @@ - branch->create;?> + branch->create, $lang->product->branchName[$product->type]);?> - branch->name;?> + branch->name, $lang->product->branchName[$product->type]);?> - branch->desc;?> + branch->desc, $lang->product->branchName[$product->type]);?> diff --git a/module/branch/view/edit.html.php b/module/branch/view/edit.html.php index ce23a1d75d..1ac717b388 100644 --- a/module/branch/view/edit.html.php +++ b/module/branch/view/edit.html.php @@ -18,7 +18,7 @@ - branch->name;?> + branch->name, $lang->product->branchName[$product->type]);?> name, "class='form-control'");?> @@ -26,7 +26,7 @@ branch->statusList, $branch->status, "class='form-control chosen'");?> - branch->desc;?> + branch->desc, $lang->product->branchName[$product->type]);?> desc, "class='form-control'");?> diff --git a/module/branch/view/manage.html.php b/module/branch/view/manage.html.php index 5871b4fc07..4f90fae36a 100644 --- a/module/branch/view/manage.html.php +++ b/module/branch/view/manage.html.php @@ -37,7 +37,7 @@ branch->noData;?> - createLink('branch', 'create', "productID=$productID", '', true), " " . $lang->branch->create, '', "class='btn btn-info iframe'");?> + createLink('branch', 'create', "productID=$productID", '', true), " " . sprintf($lang->branch->create, $lang->product->branchName[$product->type]), '', "class='btn btn-info iframe'");?> @@ -99,7 +99,7 @@ id", $branch, 'list', '', '', "$disabled iframe", true); + common::printIcon('branch', 'edit', "branchID=$branch->id&productID=$productID", $branch, 'list', '', '', "$disabled iframe", true); if($branch->status == 'active') { common::printIcon('branch', 'close', "branchID=$branch->id", $branch, 'list', 'off', 'hiddenwin', $disabled);
branch->noData;?> - createLink('branch', 'create', "productID=$productID", '', true), " " . $lang->branch->create, '', "class='btn btn-info iframe'");?> + createLink('branch', 'create', "productID=$productID", '', true), " " . sprintf($lang->branch->create, $lang->product->branchName[$product->type]), '', "class='btn btn-info iframe'");?>