本文整理匯總了PHP中design::input_amount方法的典型用法代碼示例。如果您正苦於以下問題:PHP design::input_amount方法的具體用法?PHP design::input_amount怎麽用?PHP design::input_amount使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類design
的用法示例。
在下文中一共展示了design::input_amount方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
design::input_type($TransactionType);
design::input_account($TransactionAccount);
design::input_toaccount($TransactionToAccount);
if (costant::disable_payee() !== True) {
design::input_payee($TransactionPayee);
} else {
design::input_hidden("Payee", "None");
}
if (costant::disable_category() !== True) {
design::input_category($TransactionCategory);
design::input_subcategory($TransactionSubCategory);
} else {
design::input_hidden("Category", "None");
design::input_hidden("SubCategory", "None");
}
design::input_amount($TransactionAmount);
design::input_notes($TransactionNotes);
echo "<div class='form-group'>";
echo "<label for='fileToUpload'>Take a picture or upload attachments</label><br />";
echo "<input type='file' name='fileToUpload' id='fileToUpload' onchange='attachment_uploadFile({$TrEditNr});' />";
echo "<span class='help-block'></span>";
echo "</div>\n";
echo "<div class='table-responsive' id='attachments_table'>";
echo "</div>\n";
echo "<br />";
if ($FlagNew) {
echo "<script type='text/javascript'>";
echo "var date_today = get_today();";
echo "document.getElementById('Date').value=date_today;";
echo "</script>";
} else {