本文整理汇总了PHP中Accounts::getActualCodeString方法的典型用法代码示例。如果您正苦于以下问题:PHP Accounts::getActualCodeString方法的具体用法?PHP Accounts::getActualCodeString怎么用?PHP Accounts::getActualCodeString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Accounts
的用法示例。
在下文中一共展示了Accounts::getActualCodeString方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: while
while ($paymentsAccounts->getNext()) {
if ($paymentsAccounts->getActualBalance() == "") {
continue;
}
printRow(array($paymentsAccounts->getActualCodeString(), $paymentsAccounts->getActualCodeName(), $paymentsAccounts->getActualBalance()), "abwechselnd");
}
printRow(array("", "Total", $paymentsAccounts->getSum()));
endPrettyTable();
# Receipts
beginPrettyTable("4", "Receipts");
printRow(array("Code Number", "Description", "Amount"));
while ($receiptsAccounts->getNext()) {
if ($receiptsAccounts->getActualBalance() == "") {
continue;
}
printRow(array($receiptsAccounts->getActualCodeString(), $receiptsAccounts->getActualCodeName(), $receiptsAccounts->getActualBalance()), "abwechselnd");
}
printRow(array("", "Total", $receiptsAccounts->getSum()));
endPrettyTable();
# Closing Balance
beginPrettyTable("4", "Closing Balance");
printRow(array("Code Number", "Description", "Amount"));
while ($closingAccounts->getNext()) {
printRow(array($closingAccounts->getActualCodeString(), $closingAccounts->getActualCodeName(), $closingAccounts->getActualBalance()), "abwechselnd");
}
printRow(array("", "Total", $closingAccounts->getSum()));
endPrettyTable();
} else {
$ac_array = get_ac_array(1);
$ac_array[0] = "ALL PROJECTS";
openForm("enter Date", $PHP_SELF);