Exemplo n.º 1
0
				<td rowspan='2'><?php 
echo createInputText('endDate', '', "size='10px'");
?>
</td>
				<td rowspan='2'><?php 
echo arrayToSelect(array("0" => "All", "1" => "Paid", "2" => "Unpaid"), "0", 'paid', 'Payment', true);
?>
</td>
				<td rowspan='2'><?php 
echo createSimpleButton('searchButton', 'Search', '');
?>
</td>
			</tr>
			<tr>
				<td><?php 
echo emptySelect("projectId", "Project");
?>
</td>
			</tr>
			<?php 
?>
		</table>
	</div>
	
	<div class='table' id='customerInvoicesTable' ></div>
</div>
	
<?include_once '../news.php';?>
</div>
<?
include_once '../app_footer.php';
Exemplo n.º 2
0
echo createInputText('additionalDumptime', '', "size='4px'");
?>
</td>
				<td rowspan='2'><?php 
echo arrayToSelect(materialsArray($conexion), "0", 'pathFinderMaterialId', 'Material', false);
?>
</td>
				<td rowspan='2'><input type="checkbox" id="byLoad" name="byLoad" /><label for="byLoad" >By Load</label></td>
				<td rowspan='2'><?php 
echo createSimpleButton('searchButton', 'Search', '');
?>
</td>
			</tr>
			<tr>
				<td><?php 
echo emptySelect("pathFinderProjectId", "Project/Estimate");
?>
</td>
			</tr>
			<?php 
?>
		</table>
	</div>
	
	<div id='mapCanvas' class='mapCanvas'>
	</div>
	<div id='priceList'>
	</div>
	
</div>
	
Exemplo n.º 3
0
echo createCheckbox('c_fuelLoadMileage', 'Mileage', 'fuelLoadMileage', 'headerName="Mileage" varType="string"');
?>
<br/>
				</td>
			</tr>
			<tr class='bg'>
				<td> <?php 
echo createInputText('searchFuelLoadId', '', "size='10px'");
?>
</td>
				<td> <?php 
echo arrayToSelect(brokersArray($conexion), 0, 'searchFuelLoadBroker', 'Broker');
?>
</td>
				<td> <?php 
echo emptySelect('searchFuelLoadTruck', 'Truck');
?>
</td>
				<td></td>
			</tr>
			<tr>
				<td class='first'>After Date:</td>
				<td class='first'>Before Date:</td>
				<td class='first'></td>
				<td></td>
			</tr>
			<tr class='bg'>
				<td> <?php 
echo createInputText('searchFuelLoadStart', '', "size='10px'");
?>
</td>
Exemplo n.º 4
0
			<tr>
				<td class='first'>Customer:</td>
				<td class='first'>Contact:</td>
				<td class='first'></td>
				<td> <?php 
echo createSimpleButton('printButton', 'Print');
?>
</td>
			</tr>
			<tr class='bg'>
				<td><?php 
echo arrayToSelect(customersArray($conexion), 0, 'searchProjectCustomer', 'Customer');
?>
</td>
				<td><?php 
echo emptySelect('searchProjectContact', 'Contact');
?>
</td>
				<td></td>
				<td> <?php 
echo createSimpleButton('searchButton', 'Search');
?>
</td>
			</tr>
		</table>
	</div>
	
	<div class='table' id='projectsTable' ></div>
</div>
<?include_once '../news.php';?>
</div>
Exemplo n.º 5
0
			<tr>
				<td class='first'>Project:</td>
				<td class='first'>Supplier:</td>
				<td class='first'>Type:</td>
				<td><?php 
echo createSimpleButton('exportButton', 'Export');
?>
</td>
			</tr>
			<tr class='bg'>
				<td> <?php 
echo emptySelect("projectId", "Project");
?>
</td>
				<td> <?php 
echo emptySelect("supplierId", "Supplier");
?>
</td>
				<td><?php 
echo arrayToSelect(array("Loads", "Tons", "Hours", "Any"), 3, "searchItemType", "", true);
?>
</td>
				<td><?php 
echo createSimpleButton('printButton', 'Print');
?>
</td>
			</tr>
			<tr>
				<td></td>
				<td></td>
				<td></td>
Exemplo n.º 6
0
?>
</td>
			</tr>
			<tr>
				<td class='first'>Item:</td>
				<td class='first'>Driver:</td>
				<td class='first'>Start Date:</td>
				<td class='first'>End Date:</td>
			</tr>
			<tr class='bg'>
				<td> <?php 
echo emptySelect("itemId", "Item");
?>
</td>
				<td> <?php 
echo emptySelect("driverId", "Driver");
?>
</td>
				<td> <?php 
echo createInputText('startDate', '', "size='6px'");
?>
</td>
				<td> <?php 
echo createInputText('endDate', '', "size='6px'");
?>
</td>
			</tr>
			<tr>
				<td class='first'>Customer Invoice:</td>
				<td class='first'>Broker Invoice:</td>
				<td class='first'>Supplier Invoice:</td>
Exemplo n.º 7
0
</td>
				<td></td>
				<td></td>
				<td></td>
				<td><?php 
echo createInputText('newTicketBrokerAmount', '', "size='6px' tabindex='11'");
?>
</td>
			</tr>
			<tr class='bg'>
				<td><?php 
echo emptySelect('newTicketItem', 'Item', "tabindex='3'");
?>
</td>
				<td><?php 
echo emptySelect('newTicketDriver', 'Driver', "tabindex='6'");
?>
</td>
				<td></td>
				<td></td>
				<td><?php 
echo createSimpleButton('refreshNewTicket', 'Reset', '', "");
?>
</td>
				<td><?php 
echo createSimpleButton('submitNewTicket', 'Submit', '', "tabindex='12'");
?>
</td>
			</tr>
		</table>
	</div>
Exemplo n.º 8
0
				<th class="full" colspan="2">New Item</th>
			</tr>
			<?php 
$flag = true;
echo createFormRow('Customer', $flag ? 'class="bg"' : '', true, arrayToSelect(customersArray($conexion), $customer, 'newItemCustomerId', 'Customer'));
$flag = !$flag;
if ($customer == 0) {
    echo createFormRow('Project', $flag ? 'class="bg"' : '', true, emptySelect("newItemProjectId", "Project"));
} else {
    echo createFormRow('Project', $flag ? 'class="bg"' : '', true, arrayToSelect(projectsArray($conexion, $customer), $project, "newItemProjectId", "Project"));
}
$flag = !$flag;
echo createFormRow('Supplier', $flag ? 'class="bg"' : '', true, arrayToSelect(suppliersArray($conexion), $supplier, 'newItemSupplierId', 'Supplier'));
$flag = !$flag;
if ($supplier == 0) {
    echo createFormRow('Material', $flag ? 'class="bg"' : '', true, emptySelect("newItemMaterialId", "Material"));
} 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", ""));
Exemplo n.º 9
0
				<td><?php 
echo createInputText('newFuelLoadFinish', '', "size='6px' tabindex='6'");
?>
</td>
				<td><?php 
echo createInputText('newFuelLoadRegistered', '', "size='6px' tabindex='7'");
?>
</td>
				<td><?php 
echo createInputText('newFuelLoadMiles', '', "size='6px' tabindex='8'");
?>
</td>
			</tr>
			<tr>
				<td></td>
				<td><?php 
echo emptySelect('newFuelLoadTruck', 'Truck', "tabindex='3'");
?>
</td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td><?php 
echo createSimpleButton('submitNewFuelLoad', 'Submit', '', "tabindex='9'");
?>
</td>
			</tr>
		</table>
	</div>