Пример #1
0
echo createDeleteIcon('deleteProposal', '../submit/deleteProposal.php', "proposalId={$itemId}", "Proposal");
?>
</div>
<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'>Item Information</th>
		</tr>
		<?php 
$flag = true;
$estimateLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_ESTIMATE, createGenericNyroableAttributesSmall($itemInfo['fakeprojectId'], 'estimate'));
$customerLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_CUSTOMER, createGenericNyroableAttributesSmall($itemInfo['customerId'], 'customer'));
$supplierLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_SUPPLIER, createGenericNyroableAttributesSmall($itemInfo['supplierId'], 'supplier'));
$vendorLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_VENDOR, createGenericNyroableAttributesSmall($itemInfo['vendorId'], 'vendor'));
echo printTuple($flag ? '' : "class='bg'", 'Item Id', $itemInfo['fakeitemId']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Customer', $itemInfo['customerId'] . " " . $itemInfo['customerName'], $customerLink);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Project', $itemInfo['fakeprojectId'] . " " . $itemInfo['fakeprojectName'], $estimateLink);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Vendor', $itemInfo['vendorName'], $vendorLink);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Supplier', $itemInfo['supplierName'], $supplierLink);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Material', $itemInfo['materialName']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'From', $itemInfo['itemDisplayFrom']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'To', $itemInfo['itemDisplayTo']);
Пример #2
0
	<?php 
echo createEditIcon('editProject', '../nyros/editProject.php', "projectId={$projectId}", "Project");
?>
	<?php 
echo createDeleteIcon('deleteProject', '../submit/deleteProject.php', "projectId={$projectId}", "Project");
?>
</div>
<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'>Project Information</th>
		</tr>
		<?php 
$flag = true;
$customerLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_CUSTOMER, createGenericNyroableAttributesSmall($projectInfo['customerId'], 'customer'));
echo printTuple($flag ? '' : "class='bg'", 'Project Id', $projectInfo['projectId']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Project Name', $projectInfo['projectName']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Address', $customerInfo['addressLine1']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Address', $customerInfo['addressCity'] . ", " . $customerInfo['addressState'] . " " . $customerInfo['addressZip']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Customer', $projectInfo['customerId'] . " " . $projectInfo['customerName'], $customerLink);
$flag = !$flag;
?>
	</table>
</div>
Пример #3
0
echo createEditIcon('editTruck', '../nyros/editTruck.php', "truckId={$truckId}", "Truck");
?>
	<?php 
echo createDeleteIcon('deleteTruck', '../submit/deleteTruck.php', "truckId={$truckId}", "Truck");
?>
</div>
<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'>Driver Information</th>
		</tr>
		<?php 
$flag = true;
$brokerLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_BROKER, createGenericNyroableAttributesSmall($truckInfo['brokerId'], 'broker'));
echo printTuple($flag ? '' : "class='bg'", 'Truck Number', $truckInfo['brokerPid'] . " " . $truckInfo['truckNumber']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Broker', $truckInfo['brokerName'], $brokerLink);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Driver', $truckInfo['truckDriver']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Plates', $truckInfo['truckPlates']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Brand', $truckInfo['truckBrand']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Year/Model', $truckInfo['truckYear']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Tire Size', $truckInfo['truckTireSize']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Additional Info', $truckInfo['truckInfo']);
Пример #4
0
/*echo createEditIcon('editSupplier','../nyros/editCustomerSuperCheck.php',"customerSuperCheckId=$customerSuperCheckId", "Supplier");*/
?>
	<?php 
echo createDeleteIcon('deleteSupplier', '../submit/deleteCustomerSuperCheck.php', "customerSuperCheckId={$customerSuperCheckId}", "Supplier");
?>
</div>
<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'>Customer Check Information</th>
		</tr>
		<?php 
$flag = true;
$customerLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_VENDOR, createGenericNyroableAttributesSmall($customerSuperCheckInfo['customerId'], 'customer'));
echo printTuple($flag ? '' : "class='bg'", 'Customer', $customerSuperCheckInfo['customerName'], $customerLink);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Check Number', $customerSuperCheckInfo['customerSuperCheckNumber']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Check Date', to_MDY($customerSuperCheckInfo['customerSuperCheckDate']));
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Check Registration', to_MDY($customerSuperCheckInfo['customerSuperCheckCreationDate']));
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Check Amount', "\$ " . decimalPad($customerSuperCheckInfo['customerSuperCheckAmount']));
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Check Note', $customerSuperCheckInfo['customerSuperCheckNote']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Credit', "\$ " . decimalPad($customerSuperCheckInfo['checkCredit']));
$flag = !$flag;
?>
Пример #5
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'>FuelLoad Information</th>
		</tr>
		<?php 
$flag = true;
$brokerLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_BROKER, createGenericNyroableAttributesSmall($fuelLoadInfo['brokerId'], 'broker'));
echo printTuple($flag ? '' : "class='bg'", 'Fuel Load Id', $fuelLoadInfo['fuelLoadId']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Broker', $fuelLoadInfo['brokerName'], $brokerLink);
$flag = !$flag;
if ($fuelLoadInfo['truckNumber'] != null) {
    $truckLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_TRUCK, createGenericNyroableAttributesSmall($fuelLoadInfo['truckId'], 'truck'));
    echo printTuple($flag ? '' : "class='bg'", 'Truck', $fuelLoadInfo['brokerPid'] . "-" . $fuelLoadInfo['truckNumber'], $brokerLink);
    $flag = !$flag;
} else {
    echo printTuple($flag ? '' : "class='bg'", 'Truck', $fuelLoadInfo['truckNumber']);
    $flag = !$flag;
}
echo printTuple($flag ? '' : "class='bg'", 'Date', to_MDY($fuelLoadInfo['fuelLoadDate']));
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Start', $fuelLoadInfo['fuelLoadStart']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Finish', $fuelLoadInfo['fuelLoadFinish']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Reistered', $fuelLoadInfo['fuelLoadRegistered']);
$flag = !$flag;
echo printTuple($flag ? '' : "class='bg'", 'Mileage', $fuelLoadInfo['fuelLoadMileage']);