<!-- @todo NEEDS TO BE TRANSLATED -->
<?php echo Form::open(); ?>
<table width="100%">
	<tr>
		<td style="width: 50%; vertical-align: top;">
			<table width="100%">
				<tr>
					<td style="width: 40%;">Service Active</td>
					<td style="width: 60%;" class="data"><?php echo StaticList_YesNo::form('status',$so->status); ?></td>
				</tr>
				<tr>
					<td>Queue</td>
					<td class="data"><?php echo $so->display('queue'); ?></td>
				</tr>
				<tr>
					<td>Billing Period</td>
					<td class="data"><?php echo StaticList_RecurSchedule::form('recure_schedule',$so->product,$so->recur_schedule);?></td>
				</tr>
				<tr>
					<td>Date Last Invoice</td>
					<td class="data"><?php echo $so->display('date_last_invoice'); ?></td>
				</tr>
				<tr>
					<td>Date Next Invoice</td>
					<td class="data">
						<?php echo Form::input('date_next_invoice',$so->date_next_invoice,array('id'=>'date_next_invoice')); ?>
						<?php echo HTML::anchor('#',
							HTML::image($mediapath->uri(array('file'=>'img/calendar.png')),array('alt'=>_('Calendar'),'style'=>'cursor: pointer;')),
							array('title'=>'Click to popup a dialog to select a date graphically','onclick'=>"dateSelector('date_next_invoice')")); ?>
						<script type="text/javascript">defaults['date_next_invoice'] = '%s';</script>
					</td>
				</tr>
				<tr>
					<td>Taxable</td>
					<td class="data"><?php echo StaticList_YesNo::form('taxable',$so->taxable); ?></td>
				</tr>
				<tr>
					<td>Type</td>
					<td class="data"><?php echo StaticList_RecurType::display($so->recur_type); ?></td>
				</tr>
				<tr>
					<td>User Can Change Schedule</td>
					<td class="data"><?php echo StaticList_YesNo::form('recur_schedule_change',$so->recur_schedule_change); ?></td>
				</tr>
				<tr>
					<td>User Can Cancel</td>
					<td class="data"><?php echo StaticList_YesNo::form('recur_cancel',$so->recur_cancel); ?></td>
				</tr>
				<tr>
					<td>User Can Modify</td>
					<td class="data"><?php echo StaticList_YesNo::form('recur_modify',$so->recur_modify); ?></td>
				</tr>
				<tr>
					<td>Suspend Billing</td>
					<td class="data"><?php echo StaticList_YesNo::form('suspend_billing',$so->suspend_billing); ?></td>
				</tr>
			</table>
			<?php if ($plugin_form) { echo '<br/>'.$plugin_form; } ?>
			<!-- END Service Information -->
		</td>
	</tr>
</table>
<?php echo Form::submit('submit',_('Update'),array('class'=>'form_button')); ?>
<?php echo Form::close(); ?>
