<?php echo $header; ?>
<div id="content">
<div class="breadcrumb">
  <?php foreach ($breadcrumbs as $breadcrumb) { ?>
  <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
  <?php } ?>
</div>
<?php if ($error_warning) { ?>
<div class="warning"><?php echo $error_warning; ?></div>
<?php } ?>
<div class="box">
  <div class="heading">
    <h1><img src="view/image/module.png" alt="" /> <?php echo $heading_title; ?></h1>
    <div class="buttons"><a onclick="$('#form').submit();" class="button"><span><?php echo $button_save; ?></span></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><span><?php echo $button_cancel; ?></span></a></div>
  </div>
  <div class="content">
    <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
      <table class="form">
		  <tr>
            <td><?php echo $entry_barcode_type; ?></td>
            <td><select name="barcode_type">
				<option value="0" <?php if ($barcode_type=="0") { echo 'selected=selected'; } ?> > --- None --- </option>
				<option value="1" <?php if ($barcode_type=="1") { echo 'selected=selected'; } ?> >CODE-11</option>
				<option value="2" <?php if ($barcode_type=="2") { echo 'selected=selected'; } ?> >CODE-39</option>
				<option value="3" <?php if ($barcode_type=="3") { echo 'selected=selected'; } ?> >CODE-93</option>
				<option value="4" <?php if ($barcode_type=="4") { echo 'selected=selected'; } ?> >CODE-128</option>
				<option value="5" <?php if ($barcode_type=="5") { echo 'selected=selected'; } ?> >CODABAR</option>
				<option value="6" <?php if ($barcode_type=="6") { echo 'selected=selected'; } ?> >DATAMATRIX</option>
				<option value="7" <?php if ($barcode_type=="7") { echo 'selected=selected'; } ?> >EAN-8</option>
				<option value="8" <?php if ($barcode_type=="8") { echo 'selected=selected'; } ?> >EAN-13</option>
				<option value="9" <?php if ($barcode_type=="9") { echo 'selected=selected'; } ?> >MSI</option>
				<option value="10" <?php if ($barcode_type=="10") { echo 'selected=selected'; } ?> >STANDARD 2 OF 5</option>
				<option value="11" <?php if ($barcode_type=="11") { echo 'selected=selected'; } ?> >INTERLEAVED 2 OF 5</option>
              </select></td></tr>
		  <tr>
            <td><?php echo $entry_invoice_store_logo; ?></td>
            <td><?php if ($invoice_store_logo) { ?>
              <input type="radio" name="invoice_store_logo" value="1" checked="checked" />
              <?php echo $text_yes; ?>
              <input type="radio" name="invoice_store_logo" value="0" />
              <?php echo $text_no; ?>
              <?php } else { ?>
              <input type="radio" name="invoice_store_logo" value="1" />
              <?php echo $text_yes; ?>
              <input type="radio" name="invoice_store_logo" value="0" checked="checked" />
              <?php echo $text_no; ?>
              <?php } ?></td>
          </tr>
		   <tr>
            <td><?php echo $entry_invoice_barcode; ?></td>
            <td><?php if ($invoice_barcode) { ?>
              <input type="radio" name="invoice_barcode" value="1" checked="checked" />
              <?php echo $text_yes; ?>
              <input type="radio" name="invoice_barcode" value="0" />
              <?php echo $text_no; ?>
              <?php } else { ?>
              <input type="radio" name="invoice_barcode" value="1" />
              <?php echo $text_yes; ?>
              <input type="radio" name="invoice_barcode" value="0" checked="checked" />
              <?php echo $text_no; ?>
              <?php } ?></td>
          </tr>
		   <tr>
            <td><?php echo $entry_invoice_payment_method; ?></td>
            <td><?php if ($invoice_payment_method) { ?>
              <input type="radio" name="invoice_payment_method" value="1" checked="checked" />
              <?php echo $text_yes; ?>
              <input type="radio" name="invoice_payment_method" value="0" />
              <?php echo $text_no; ?>
              <?php } else { ?>
              <input type="radio" name="invoice_payment_method" value="1" />
              <?php echo $text_yes; ?>
              <input type="radio" name="invoice_payment_method" value="0" checked="checked" />
              <?php echo $text_no; ?>
              <?php } ?></td>
          </tr>
		  <tr>
            <td><?php echo $entry_invoice_sku; ?></td>
            <td><?php if ($invoice_sku) { ?>
              <input type="radio" name="invoice_sku" value="1" checked="checked" />
              <?php echo $text_yes; ?>
              <input type="radio" name="invoice_sku" value="0" />
              <?php echo $text_no; ?>
              <?php } else { ?>
              <input type="radio" name="invoice_sku" value="1" />
              <?php echo $text_yes; ?>
              <input type="radio" name="invoice_sku" value="0" checked="checked" />
              <?php echo $text_no; ?>
              <?php } ?></td>
          </tr>
		</table>
    </form>
  </div>
</div>