本文整理汇总了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 {