예제 #1
0
$flag = !$flag;
//parking address
echo createFormRowTextField('Parking Address', 'editSupplierAddressLine1', $flag ? 'class="bg"' : '', false, "size='25px' value='" . $supplierInfo['addressLine1'] . "'");
$flag = !$flag;
echo createFormRowTextField('Address Line 2', 'editSupplierAddressLine2', $flag ? 'class="bg"' : '', false, "size='25px' value='" . $supplierInfo['addressLine2'] . "'");
$flag = !$flag;
echo createFormRowTextField('City', 'editSupplierAddressCity', $flag ? 'class="bg"' : '', false, "size='25px' value='" . $supplierInfo['addressCity'] . "'");
$flag = !$flag;
//state
echo createFormRow('State', $flag ? 'class="bg"' : '', false, createStateSelect($conexion, 'editSupplierAddressState', $supplierInfo['addressState']));
$flag = !$flag;
echo createFormRowTextField('Zip', 'editSupplierAddressZip', $flag ? 'class="bg"' : '', false, "size='25px' value='" . $supplierInfo['addressZip'] . "'");
$flag = !$flag;
echo createFormRowTextField('P.O.Box', 'editSupplierAddressBox', $flag ? 'class="bg"' : '', false, "size='25px' value='" . $supplierInfo['addressPOBox'] . "'");
$flag = !$flag;
echo createFormRowTextField('Dumptime', 'editSupplierDumptime', $flag ? 'class="bg"' : '', false, "size=25px value='" . showPhoneNumber($supplierInfo['supplierDumptime']) . "'");
$flag = !$flag;
echo createFormRow('Additional Information', $flag ? 'class="bg"' : '', false, createInputTextArea('editSupplierInfo', '', 'rows="3" cols="32"', $supplierInfo['supplierInformation']));
$flag = !$flag;
?>
	</table>
	<table>
		<tr>
			<td><?php 
echo createSimpleButton('submitEditSupplierButton', 'Submit');
?>
</td>
		</tr>
	</table>
</div>
예제 #2
0
$flag = !$flag;
//parking address
echo createFormRowTextField('Parking Address', 'addressLine1', $flag ? 'class="bg"' : '', false, 'size=10px');
$flag = !$flag;
echo createFormRowTextField('Address Line 2', 'addressLine2', $flag ? 'class="bg"' : '', false, 'size=10px');
$flag = !$flag;
echo createFormRowTextField('City', 'addressCity', $flag ? 'class="bg"' : '', false, 'size=10px');
$flag = !$flag;
//state
echo createFormRow('State', $flag ? 'class="bg"' : '', false, createStateSelect($conexion, 'addressState'));
$flag = !$flag;
echo createFormRowTextField('Zip', 'addressZip', $flag ? 'class="bg"' : '', false, 'size=10px');
$flag = !$flag;
echo createFormRowTextField('P.O.Box', 'addressBox', $flag ? 'class="bg"' : '', false, 'size=10px');
$flag = !$flag;
echo createFormRow('Additional Information', $flag ? 'class="bg"' : '', false, createInputTextArea('truckInfo', '', 'rows="2" cols="43"'));
$flag = !$flag;
echo createFormRow('Feautres', $flag ? 'class="bg"' : '', false, featureArrayToCheckBoxes(objectArray($conexion, 'feature', 'featureName', 'featureId', 'featureName'), 5));
?>
		</table>
		<table>
			<tr>
				<td><?php 
echo createSimpleButton('submitButton', 'Submit');
?>
</td>
			</tr>
		</table>
	</div>
</div>
	
예제 #3
0
echo createFormRowTextField('Tel', 'newVendorTel', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('Fax', 'newVendorFax', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('Address', 'newVendorAddressLine1', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('Address Line 2', 'newVendorAddressLine2', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('City', 'newVendorAddressCity', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRow('State', $flag ? 'class="bg"' : '', false, createStateSelect($conexion, 'newVendorAddressState'));
$flag = !$flag;
echo createFormRowTextField('Zip', 'newVendorAddressZip', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('P.O.Box', 'newVendorAddressBox', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRow('Additional Information', $flag ? 'class="bg"' : '', false, createInputTextArea('newVendorInfo', '', 'rows="3" cols="32"'));
$flag = !$flag;
?>
		</table>
		<table>
			<tr>
				<td><?php 
echo createSimpleButton('submitNewVendorButton', 'Submit');
?>
</td>
			</tr>
		</table>
	</div>
</div>
예제 #4
0
echo createInputText('invoiceAmount', '', "size='10px'");
?>
</td>
			</tr>
			<tr>
				<td><strong>Supplier:</strong><span style="color:red;">*</span></td>
				<td colspan='2'><strong>Coment:</strong></td>
				<td><strong>Current Amount:</strong></td>
			</tr>
			<tr class='bg'>
				<td><?php 
echo emptySelect("supplierId", "Supplier");
?>
</td>
				<td colspan='2'><?php 
echo createInputTextArea('invoiceComment', '', 'rows="1" cols="52"');
?>
</td>
				<td id='amountSum'></td>
			</tr>
			<tr>
				<td><strong>Start Date:</strong></td>
				<td><?php 
echo createInputText('startDate', '', "size='10px'");
?>
</td>
				<td><strong>Ticket Count:</strong></td>
				<td id='amountCount'></td>
			</tr>
			<tr class='bg'>
				<td><strong>End Date:</strong></td>
예제 #5
0
} else {
    echo createFormRow('Material', $flag ? 'class="bg"' : '', true, arrayToSelect(materialBySupplierArray($conexion, $supplier), $material, "newItemMaterialId", "Material"));
}
$flag = !$flag;
echo createFormRowTextField("From <img id='newItemReverse' src='/trucking/img/48.png' width='18px'/>", 'newItemFromDisplay', $flag ? 'class="bg"' : '', false, "size=25px value=\"{$displayFrom}\"");
$flag = !$flag;
echo createFormRowTextField('To', 'newItemToDisplay', $flag ? 'class="bg"' : '', false, "size=25px value=\"{$displayTo}\"");
$flag = !$flag;
echo createFormRowTextField('Material Price', 'newItemMaterialPrice', $flag ? 'class="bg"' : '', true, "size=10px value=\"{$materialPrice}\"");
$flag = !$flag;
echo createFormRowTextField('Broker Cost', 'newItemBrokerCost', $flag ? 'class="bg"' : '', true, 'size=10px');
$flag = !$flag;
echo createFormRowTextField('Customer Cost', 'newItemCustomerCost', $flag ? 'class="bg"' : '', true, 'size=10px');
$flag = !$flag;
echo createFormRow('Type', $flag ? 'class="bg"' : '', true, arrayToRadio(array("Loads", "Tons", "hours"), "0", "newItemType", ""));
$flag = !$flag;
echo createFormRow('Description', $flag ? 'class="bg"' : '', false, createInputTextArea('newItemDescription', '', 'rows="2" cols="43"'));
$flag = !$flag;
?>
		</table>
		<table>
			<tr>
				<td><?php 
echo createSimpleButton('submitNewItem', 'Submit');
?>
</td>
			</tr>
		</table>
	</div>
</div>
예제 #6
0
					<input type='radio' name='type' value='general' id='generalInvoiceType' checked ><label for='generalInvoiceType'>All Tickets</label><br/>
					<input type='radio' name='type' value='item' id='itemInvoiceType' ><label for='itemInvoiceType'>By Item</label><br/>
					<input type='radio' name='type' value='material' id='materialInvoiceType' ><label for='materialInvoiceType'>By Material</label><br/>
				</td>
				<td>
					<select name='materialId' id='materialId' style='font-family:verdana;font-size:8pt'>
						<option selected='selected' value='0' >--Select Material--</option>
					</select>
					
					<select name='itemId' id='itemId' style='font-family:verdana;font-size:8pt'>
						<option selected='selected' value='0' >--Select Item--</option>
					</select>
				</td>
				<td colspan='2'>
					<?php 
echo createInputTextArea('newCustomerInvoiceComment', '', '');
?>
				</td>
			</tr>
			<?php 
?>
		</table>
	</div>
	
	<div class='iframes' id='previewFrame'></div>
</div>
	
<?include_once '../news.php';?>
</div>
<?
include_once '../app_footer.php';