<?php $this->load->view('dashboard/header'); ?>

<div class="container_10" id="center_wrapper">

	<div class="grid_7" id="content_wrapper">

		<div class="section_wrapper">

			<h3 class="title_black"><?php echo $this->lang->line('invoice_status_form'); ?></h3>

			<?php $this->load->view('dashboard/system_messages'); ?>

			<div class="content toggle">

				<form method="post" action="<?php echo site_url($this->uri->uri_string()); ?>">

				<dl>
					<dt><label><?php echo $this->lang->line('invoice_status'); ?>: </label></dt>
					<dd><input type="text" name="invoice_status" id="invoice_status" value="<?php echo $this->mdl_invoice_statuses->form_value('invoice_status'); ?>" /></dd>
				</dl>
				<dl>
					<dt><label><?php echo $this->lang->line('invoice_status_type'); ?>: </label></dt>
					<dd>
						<select name="invoice_status_type">
							<?php foreach ($this->mdl_invoice_statuses->status_types as $key=>$value) { ?>
							<option value="<?php echo $key; ?>" <?php if ($this->mdl_invoice_statuses->invoice_status_type == $key) { ?>selected="selected"<?php } ?>><?php echo $value; ?></option>
							<?php } ?>
						</select>
					</dd>
				</dl>

				<input type="submit" id="btn_submit" name="btn_submit" value="<?php echo $this->lang->line('submit'); ?>" />
				<input type="submit" id="btn_cancel" name="btn_cancel" value="<?php echo $this->lang->line('cancel'); ?>" />

				</form>

			</div>

		</div>

	</div>
</div>

<?php $this->load->view('dashboard/sidebar', array('side_block'=>'invoice_statuses/sidebar')); ?>

<?php $this->load->view('dashboard/footer'); ?>