Permalink
Browse files

修正

  • Loading branch information...
1 parent 67c3176 commit bbdd5f9d191976708fa90b33be69d755248a575d @kurozumi-sub kurozumi-sub committed Jan 10, 2017
@@ -23,7 +23,7 @@
*}-->
<tr>
- <th>割引率<span class="attention"> *</span></th>
+ <th>割引率</th>
<td>
<span class="attention"><!--{$arrErr.discount_rate}--></span>
<input type="text" name="discount_rate" value="<!--{$arrForm.discount_rate|h}-->" maxlength="<!--{$smarty.const.TEL_LEN}-->" size="6" class="box6" /> %
@@ -48,7 +48,7 @@ public function sfCustomerEntryParam(&$objFormParam, $isAdmin = false)
parent::sfCustomerEntryParam($objFormParam, $isAdmin);
if ($isAdmin) {
- $objFormParam->addParam('割引率', 'discount_rate', INT_LEN, 'n', array('NUM_CHECK'), '', false);
+ $objFormParam->addParam('割引率', 'discount_rate', 2, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK'), '', false);
}
}

0 comments on commit bbdd5f9

Please sign in to comment.