Пример #1
0
<div id='formDiv' class='table'>
	<img src="/mfi/img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
	<img src="/mfi/img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
	<table class="listing form" cellpadding="0" cellspacing="0">
		<tr>
			<th colspan='2'>New Pay Cheque for Broker Invoice [<?php 
echo $reportId;
?>
]</th>
		</tr>
		<?php 
$reportTotal = getReportTotal($reportId, $conexion);
$paidTotal = getReportPaid($reportId, $conexion);
$reportInfo = getBasicReportInfo($conexion, $reportId);
$balance = decimalPad($reportTotal - $paidTotal);
$nextCheck = getNextAutoIncrement($conexion, 'paidcheques');
//Truck
$flag = true;
echo createFormRowTextField('Check Id', 'newBrokerChequeId', $flag ? 'class="bg"' : '', true, " disabled='disabled' size='10px' value='" . $nextCheck . "'");
$flag = !$flag;
echo createFormRowTextField('Check Number', 'newBrokerCheckNumber', $flag ? 'class="bg"' : '', false, "size='10px' ");
$flag = !$flag;
echo createFormRowTextField('Check Date', 'newBrokerCheckDate', $flag ? 'class="bg"' : '', false, "size='10px' value='" . to_MDY($reportInfo['reportDate']) . "'");
$flag = !$flag;
echo createFormRowTextField('Amount', 'newBrokerCheckAmount', $flag ? 'class="bg"' : '', false, "size='10px' value='" . $balance . "'");
$flag = !$flag;
?>
	</table>
	<table>
		<tr>
			<td><?php 
Пример #2
0
</script>
<div id='formDiv' class='table'>
	<img src="/mfi/img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
	<img src="/mfi/img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
	<table class="listing form" cellpadding="0" cellspacing="0">
		<tr>
			<th colspan='2'>New Pay Cheque for Broker Invoice [<?php 
echo $supplierInvoice['supplierInvoiceNumber'];
?>
]</th>
		</tr>
		<?php 
$reportTotal = decimalPad($supplierInvoice['supplierInvoiceAmount']);
$paidTotal = getSuppliedPaid($reportId, $conexion);
$balance = decimalPad($reportTotal - $paidTotal);
$nextCheck = getNextAutoIncrement($conexion, 'suppliercheque');
//Truck
$flag = true;
echo createFormRowTextField('Check Id', 'newSupplierChequeId', $flag ? 'class="bg"' : '', true, " disabled='disabled' size='10px' value='" . $nextCheck . "'");
$flag = !$flag;
echo createFormRowTextField('Check Number', 'newSupplierCheckNumber', $flag ? 'class="bg"' : '', false, "size='10px' ");
$flag = !$flag;
echo createFormRowTextField('Check Date', 'newSupplierCheckDate', $flag ? 'class="bg"' : '', false, "size='10px' value='" . to_MDY($supplierInvoice['supplierInvoiceDate']) . "'");
$flag = !$flag;
echo createFormRowTextField('Amount', 'newSupplierCheckAmount', $flag ? 'class="bg"' : '', false, "size='10px' value='" . $balance . "'");
$flag = !$flag;
?>
	</table>
	<table>
		<tr>
			<td><div id='submitArea'><?php