Exemple #1
0
?>
"></td>
</tr>
<tr>
	<td class="form_field_header_cell">Last Name:</td>
	<td class="form_field_cell"><input name="last_name" class="input_text" size="25" type="text" value="<?php 
echo $user->last_name;
?>
"></td>
</tr>
<tr>
	<td class="form_field_header_cell">Company:</td>
	<td class="form_field_cell">
		<select name="company_id" class="input_text">
			<?php 
echo SI_Company::getSelectTags($user->company_id);
?>
		</select>
	</td>
</tr>
<tr>
	<td class="form_field_header_cell">Address Line 1:</td>
	<td class="form_field_cell"><input name="address1" class="input_text" size="35" type="text" value="<?php 
echo $user->address1;
?>
"></td>
</tr>
<tr>
	<td class="form_field_header_cell">Address Line 2:</td>
	<td class="form_field_cell"><input name="address2" class="input_text" size="35" type="text" value="<?php 
echo $user->address2;
Exemple #2
0
<img src="images/arrow_down.jpg" alt="Hide table" />SureInvoice Configuration</a><div>
<table border="0" cellspacing="0" cellpadding="0" class="dg_table">
	<tr>
		<th colspan="3">General</th>
	</tr>
	<tr>
		<td class="dg_data_cell_1">My Company</td>
		<td class="dg_data_cell_1">Select the company entry for your company. The details from this company will be used on invoices.</td>
		<td class="dg_data_cell_1">
		<select name="params[my_company_id]" <?php 
echo !SI_Config::canEdit('my_company_id') ? 'DISABLED' : '';
?>
>
			<option value="0">Select company...</option>
			<?php 
echo SI_Company::getSelectTags($GLOBALS['CONFIG']['my_company_id']);
?>
		</select>	
		</td>
	</tr>
	<tr>
		<td class="dg_data_cell_1">Currency Symbol</td>
		<td class="dg_data_cell_1">The currency symbol to use in the application</td>
		<td class="dg_data_cell_1">
		<select name="params[currency_symbol]" class="input_text" <?php 
echo !SI_Config::canEdit('currency_symbol') ? 'DISABLED' : '';
?>
>
			<?php 
echo SI_Config::getCurrencySymbolSelectTags();
?>
<div class="tableContainer">
<a href="javascript:;" class="tCollapse" onclick="toggleGrid(this)">
<img src="images/arrow_down.jpg" alt="Hide table" />Create New Project</a>
<div>
<form name="project" action="<?php 
echo $_SERVER['PHP_SELF'];
?>
" METHOD="POST" ENCTYPE="multipart/form-data">
<table border="0" cellspacing="0" cellpadding="0" class="form_table">
<tr>
	<td class="form_field_header_cell">Company:</td>
	<td class="form_field_cell">
		<select name="company_id" class="input_text" tabindex="1">
			<option value="0">None</option>
			<?php 
echo SI_Company::getSelectTags($project->company_id);
?>
		</select>
	</td>
</tr>
<tr>
	<td class="form_field_header_cell">Project Name:</td>
	<td class="form_field_cell"><input name="name" tabindex="2" class="input_text" size="45" type="text" value=""></td>
</tr>
<tr>
	<td class="form_field_header_cell">Project Status:</td>
	<td class="form_field_cell">
		<select name="project_status_id" class="input_text" tabindex="3">
			<?php 
echo SI_ProjectStatus::getSelectTags();
?>
echo $_SERVER['PHP_SELF'];
?>
" METHOD="POST">
<input type="hidden" name="id" value="<?php 
echo $invoice->id;
?>
"/>  
<div class="tableContainer">
<a href="javascript:;" class="tCollapse" onclick="toggleGrid(this)"><img src="images/arrow_down.jpg" alt="Hide table" />Company Information</a><div>
<table border="0" cellspacing="0" cellpadding="0" class="form_table">
<tr>
	<td class="form_field_header_cell">Company:</td>
	<td class="form_field_cell">
		<select name="company_id" class="input_text">
			<?php 
echo SI_Company::getSelectTags($invoice->company_id);
?>
		</select>
	</td>
</tr>
<tr>
	<td class="form_field_header_cell">Date:</td>
	<td class="form_field_cell">
		<input type="text" class="input_text" name="timestamp" id="timestamp" SIZE="10" autocomplete="off" value="<?php 
echo date("n/j/Y", $invoice->timestamp);
?>
">&nbsp;
		<a href="javascript:;" onclick="Uversa.SureInvoice.Calendar.show('timestamp')"><img width="16" height="16" border="0" src="images/dynCalendar.gif"/></a>&nbsp;
	</td>
</tr>
<tr>
Exemple #5
0
?>
" METHOD="GET">
<div class="tableContainer">
<a href="javascript:;" class="tCollapse" onclick="toggleGrid(this)"><img src="images/arrow_down.jpg" alt="Hide table" /><?php 
echo $title;
?>
</a><div>
<table border="0" cellspacing="0" cellpadding="0" class="form_table">
<tr>
	<td class="form_field_header_cell">Company:</td>
	<td class="form_field_cell">
<?	if($loggedin_user->hasRight('admin') || $loggedin_user->isDeveloper()){?>
		<select name="company_id" class="input_text">
			<option value="0">All</option>
			<?php 
echo SI_Company::getSelectTags($_REQUEST['company_id']);
?>
		</select>
<?	}else{ ?>
		<input name="company_id" type="hidden" value="<?php 
echo $loggedin_user->company_id;
?>
">
		<?php 
echo $loggedin_user->company;
?>
<?	} ?>
	</td>
</tr>
<tr>
	<td class="form_field_header_cell">Resource:</td>
Exemple #6
0
?>
" METHOD="POST" NAME="chk">
<input type="hidden" name="detail" value="<?php 
echo $_REQUEST['detail'];
?>
">
<div class="tableContainer" style="clear:both;">
<a href="javascript:;" class="tCollapse" onclick="toggleGrid(this)"><img src="images/arrow_down.jpg" alt="Hide table" />Company information</a><div>
<table border="0" cellspacing="0" cellpadding="0" class="form_table">
<tr>
	<td class="form_field_header_cell">Company:</td>
	<td class="form_field_cell">
		<select name="company_id" id="company_id" class="input_text" onchange="reloadPage()" >
			<option value="0">Select company...</option>
			<?php 
echo SI_Company::getSelectTags($company->id);
?>
		</select>
	</td>
</tr>
<tr>
	<td class="form_field_header_cell">Address Line 1:</td>
	<td class="form_field_cell"><input name="address1" class="input_text" size="35" type="text" value="<?php 
echo $company->address1;
?>
"></td>
</tr>
<tr>
	<td class="form_field_header_cell">Address Line 2:</td>
	<td class="form_field_cell"><input name="address2" class="input_text" size="35" type="text" value="<?php 
echo $company->address2;