<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title><?lsmb form.titlebar ?></title>
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="-1" />
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" href="css/<?lsmb form.stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />

	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

	<meta name="robots" content="noindex,nofollow" />
        
</head>
<?lsmb PROCESS elements.html ?> 
		 
<body>
<form method="post" action="<?lsmb form.script ?>">
<table width="100%">
  <tr><th class="listtop"><?lsmb text('System Defaults') ?></th></tr>
  <tr>
    <td>
      <table>
	<tr>
          <th align="right"><?lsmb text('Business Number') ?></th>
          <td><input name="businessnumber" size="25" value="<?lsmb form.businessnumber ?>" /></td>
	</tr>
	<tr>
	  <th align="right"><?lsmb text('Weight Unit') ?></th>
	  <td><input name="weightunit" size="5" value="<?lsmb form.weightunit ?>" /></td>
	</tr>
      </table>
    </td>
  </tr>
  <tr>
    <th class="listheading"><?lsmb escape(text('Last Numbers & Default Accounts')) ?></th>
  </tr>
  <tr>
    <td>
      <table>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Inventory') ?></th>
	  <td>
<?lsmb PROCESS select element_data=selects.IC ?>
          </td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Income') ?></th>
	  <td>
<?lsmb PROCESS select element_data=selects.IC_income ?>
         </td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Expense') ?></th>
	  <td>
<?lsmb PROCESS select element_data=selects.IC_expense ?>
         </td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Foreign Exchange Gain') ?></th>
	  <td>
<?lsmb PROCESS select element_data=selects.FX_gain ?>
         </td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Foreign Exchange Loss') ?></th>
	  <td>
<?lsmb PROCESS select element_data=selects.FX_loss ?>
         </td>
	</tr>
      </table>
    </td>
  </tr>
  <tr>
    <th align="left"><?lsmb escape(text('Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies')) ?></th>
  </tr>
  <tr>
    <td>
      <input name="curr" size="40" value="<?lsmb form.curr ?>" />
    </td>
  </tr>
  <tr>
    <td>
      <table>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('GL Reference Number') ?></th>
	  <td><input name="glnumber" size="40" value="<?lsmb form.glnumber ?>" /></td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Sales Invoice/AR Transaction Number') ?></th>
	  <td><input name="sinumber" size="40" value="<?lsmb form.sinumber ?>" /></td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Sales Order Number') ?></th>
	  <td><input name="sonumber" size="40" value="<?lsmb form.sonumber ?>" /></td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Vendor Invoice/AP Transaction Number') ?></th>
	  <td><input name="vinumber" size="40" value="<?lsmb form.vinumber ?>" /></td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Purchase Order Number') ?></th>
	  <td><input name="ponumber" size="40" value="<?lsmb form.ponumber ?>" /></td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Sales Quotation Number') ?></th>
	  <td><input name="sqnumber" size="40" value="<?lsmb form.sqnumber ?>" /></td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('RFQ Number') ?></th>
	  <td><input name="rfqnumber" size="40" value="<?lsmb form.rfqnumber ?>" /></td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Part Number') ?></th>
	  <td><input name="partnumber" size="40" value="<?lsmb form.partnumber ?>" /></td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Job/Project Number') ?></th>
	  <td><input name="projectnumber" size="40" value="<?lsmb form.projectnumber ?>" /></td>
        </tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Employee Number') ?></th>
	  <td><input name="employeenumber" size="40" value="<?lsmb form.employeenumber ?>" /></td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Customer Number') ?></th>
	  <td><input name="customernumber" size="40" value="<?lsmb form.customernumber ?>" /></td>
	</tr>
	<tr>
          <th align="right" nowrap="nowrap"><?lsmb text('Vendor Number') ?></th>
	  <td><input name="vendornumber" size="40" value="<?lsmb form.vendornumber ?>" /></td>
	</tr>
      </table>
    </td>
  </tr>
  <tr>
    <td><hr size="3" noshade="noshade" /></td>
  </tr>
</table>

<?lsmb FOREACH hidden IN hiddens.keys;
	PROCESS input element_data={
		type => 'hidden',
		name => hidden,
		value => hiddens.item(hidden)
		}; END;
PROCESS button element_data={name => 'action', value => 'save_defaults' text => text('Save')} ?>
  </form>

</body>
</html>