Exemplo n.º 1
0
$theinput->setAttribute("readonly", "readonly");
$theinput->setAttribute("class", "uneditable");
$theform->addField($theinput);
$theinput = new inputDatePicker("receiptdate", $therecord["receiptdate"], "date", true);
$theform->addField($theinput);
$theinput = new inputBasicList("status", $therecord["status"], array("open" => "open", "collected" => "collected"));
$theform->addField($theinput);
$theinput = new inputCheckBox("readytopost", $therecord["readytopost"], "ready to post");
$theform->addField($theinput);
$theinput = new inputCheckBox("posted", $therecord["posted"], "posted");
$theinput->setAttribute("disabled", "disabled");
$theform->addField($theinput);
$theinput = new inputSmartSearch($db, "clientid", "Pick Client With Credit", $therecord["clientid"], "client", true, 51);
$theinput->setAttribute("class", "important");
$theform->addField($theinput);
$theinput = new inputCurrency("amount", $therecord["amount"], "amount", true);
$theinput->setAttribute("class", "important");
$theform->addField($theinput);
$theinput = new inputComparisonField("ccnumber", $therecord["ccnumber"], "card number", false, false, 28, 40);
$theform->addField($theinput);
$theinput = new inputComparisonField("ccexpiration", $therecord["ccexpiration"], "expiration", false, false, 8, 10);
$theform->addField($theinput);
$theinput = new inputComparisonField("ccverification", $therecord["ccverification"], "verification/pin", false, false, 8, 7);
$theform->addField($theinput);
$theinput = new inputField("bankname", $therecord["bankname"], "bank name", false, false, 30, 64);
$theform->addField($theinput);
$theinput = new inputField("checkno", $therecord["checkno"], "check number", false, false, 20, 32);
$theform->addField($theinput);
$theinput = new inputComparisonField("accountnumber", $therecord["accountnumber"], "account number", false, NULL, 20, 64);
$theform->addField($theinput);
$theinput = new inputComparisonField("routingnumber", $therecord["routingnumber"], "routing number", false, NULL, 30, 64);
Exemplo n.º 2
0
$theinput->setAttribute("class", "uneditable");
$theinput->setAttribute("readonly", "readonly");
$theform->addField($theinput);
$theinput = new inputField("theid", $therecord["id"], "id", true, NULL, 9, 64);
$theinput->setAttribute("class", "uneditable");
$theinput->setAttribute("readonly", "readonly");
$theform->addField($theinput);
$theinput = new inputField("relatedid", $therecord["relatedid"], "related record id", true, NULL, 42, 64);
$theinput->setAttribute("class", "uneditable");
$theinput->setAttribute("readonly", "readonly");
$theform->addField($theinput);
$theinput = new inputCurrency("amount", $therecord["amount"]);
$theinput->setAttribute("class", "uneditable");
$theinput->setAttribute("readonly", "readonly");
$theform->addField($theinput);
$theinput = new inputCurrency("due", $therecord["amount"] - $therecord["paid"]);
$theinput->setAttribute("class", "uneditable");
$theinput->setAttribute("readonly", "readonly");
$theform->addField($theinput);
$theform->jsMerge();
//==============================================================
//End Form Elements
$pageTitle = "AR Item";
include "header.php";
?>
<div class="bodyline">
	<?php 
$theform->startForm($pageTitle);
?>
	<input type="hidden" id="invoiceEdit" value="<?php 
echo getAddEditFile($db, "tbld:62fe599d-c18f-3674-9e54-b62c2d6b1883");
Exemplo n.º 3
0
$theform->addField($theinput);
$theinput = new inputField("shiptostate", $therecord["shiptostate"], "state/province", false, NULL, 10, 20);
$theform->addField($theinput);
$theinput = new inputField("shiptopostalcode", $therecord["shiptopostalcode"], "zip/postal code", false, NULL, 12, 15);
$theform->addField($theinput);
$theinput = new inputField("shiptocountry", $therecord["shiptocountry"], "country", false, NULL, 44, 128);
$theform->addField($theinput);
$theinput = new inputBasicList("shiptosaveoptions", "orderOnly", $saveOptionList, "address save options");
$theform->addField($theinput);
$theinput = new inputPercentage("taxpercentage", $therecord["taxpercentage"], "tax percentage", 5);
$theinput->setAttribute("onchange", "clearTaxareaid()");
$theform->addField($theinput);
$theinput = new inputCurrency("creditlimit", $therecord["creditlimit"], "credit limit");
$theinput->setAttribute("readonly", "readonly");
$theform->addField($theinput);
$theinput = new inputCurrency("creditleft", $therecord["creditleft"], "credit left (before order)");
$theinput->setAttribute("readonly", "readonly");
$theform->addField($theinput);
//=====Payment Info====================
$theinput = new inputComparisonField("accountnumber", $therecord["accountnumber"], "account number", false, NULL, 20, 64);
$theform->addField($theinput);
$theinput = new inputComparisonField("routingnumber", $therecord["routingnumber"], "routing number", false, NULL, 30, 64);
$theform->addField($theinput);
$theinput = new inputComparisonField("ccnumber", $therecord["ccnumber"], "card number", false, NULL, 28, 40);
$theform->addField($theinput);
$theinput = new inputComparisonField("ccexpiration", $therecord["ccexpiration"], "expiration", false, NULL, 8, 10);
$theform->addField($theinput);
$theinput = new inputComparisonField("ccverification", $therecord["ccverification"], "verification", false, NULL, 8, 7);
$theform->addField($theinput);
//======================================
$thetable->getCustomFieldInfo();