Changed quantity to not show up if just 1. Set field order for edit to match view
git-svn-id: file:///svn-source/pmgr/branches/v0.3_work@1044 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -13,7 +13,8 @@ $lock = $lock['Lock'];
|
||||
|
||||
$rows = array();
|
||||
$rows[] = array('Name', $lock['name']);
|
||||
$rows[] = array('Quantity', $lock['qty']);
|
||||
if ($lock['qty'] > 1)
|
||||
$rows[] = array('Quantity', $lock['qty']);
|
||||
$rows[] = array('Key', $lock['key']);
|
||||
if (!empty($lock['last_key']))
|
||||
$rows[] = array('Last Key', $lock['last_key']);
|
||||
|
||||
Reference in New Issue
Block a user