<!DOCTYPE html>
<HTML {$html_attrs}><HEAD><TITLE>{$pagetitle}</TITLE>
<META content=IE=7 http-equiv=X-UA-Compatible>
<META content="text/html; charset=utf-8" http-equiv=Content-Type><LINK rel=stylesheet type=text/css href="styles/default.css">{BEGIN rtlCSS}<LINK rel=stylesheet type=text/css href="styles/defaultRTL.css">{END rtlCSS}{BEGIN styleCSSFiles}<LINK rel=stylesheet type=text/css href="{$stylepath}">{END styleCSSFiles}{BEGIN pageCSSFiles}<LINK rel=stylesheet type=text/css href="{$pagestylepath}">{END pageCSSFiles}<!--[if IE]><LINK rel=stylesheet type=text/css href="styles/defaultIE.css">{BEGIN IEcssFiles}<LINK rel=stylesheet type=text/css href="{$stylepathIE}">{END IEcssFiles}<![endif]-->
<META name=GENERATOR content="MSHTML 11.00.10570.1001">
<STYLE>
.flash-alert { 
    display: none; 
    position: fixed; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    z-index: 10000; 
    padding: 25px; 
    background-color: #fff3cd; 
    border: 3px solid #ffeeba; 
    color: #856404; 
    font-weight: bold;
    font-size: 18px;
    border-radius: 10px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    text-align: center;
    min-width: 300px;
}
.flash-visible { display: block !important; }
</STYLE>
</HEAD>
<BODY class="{$stylename}" {$bodyattrs}>{BEGIN body}&nbsp; 
<TABLE class=runner-toptable cellPadding=0>
  <TBODY>
  <TR class=runner-header>
    <TD class=runner-top colSpan=3>
      <P>{$header}</P>
      <P>&nbsp;</P></TD></TR>
  <TR class=runner-header>
    <TD class=runner-top colSpan=3>
      {BEGIN container_add}
      <TABLE class="runner-c runner-c-add" cellPadding=0 align=center>
        <DIV id=flash-message class=flash-alert></DIV>
        <TBODY>
        <TR class="runner-toprow style2 header">
          <TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc>
            
            <DIV class="runner-b-addheader {$brickclass_addheader}"><FONT 
            size=3>Registrar una nueva Venta</FONT></DIV></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR>
        {BEGIN message_block}<TR class="runner-row style1 runner-b-message {$brickclass_message}">
          <TD class=runner-cl></TD>
          <TD class="runner-cc runner-brickcontents">
            
            <DIV class=runner-message>{$message}</DIV></TD>
          <TD class=runner-cr></TD></TR>
        {END message_block}<TR class="runner-row style1 runner-b-wrapper {$wrapperclass_fields}">
          <TD class=runner-cl></TD>
          <TD class="runner-cc runner-brickcontents runner-wrapper">
            
            {BEGIN container_fields}
            <TABLE class="runner-c runner-c-fields" cellPadding=0>
              <TBODY>
              <TR class="{$cheaderclass_fields}">
                <TD class=runner-cl><IMG src="images/spacer.gif"></TD>
                <TD class=runner-cc></TD>
                <TD class="runner-cc alt"></TD>
                <TD class="runner-cr alt"><IMG src="images/spacer.gif"></TD></TR>
              {BEGIN legend}<TR class="runner-row style3 runner-b-legend {$brickclass_legend}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  <FONT size=3><FONT 
                  color=#8b8b00 size=4>Recuerda que los campos con</FONT> <IMG alt=bullet src="images/icon_required.gif"> - </FONT><FONT color=#8b8b00 size=4>son 
                  campos&nbsp;requeridos</FONT></TD>
                <TD class=runner-cr></TD></TR>
              <TR class="runner-row style3 runner-b-legend {$brickclass_legend}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  &nbsp;<FONT color=#ff6820 size=3>Haga click en seleccionar 
                  para buscar el Cliente</FONT></TD>
                <TD class=runner-cr></TD></TR>
              <TR class="runner-row style3 runner-b-legend {$brickclass_legend}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  <STRONG>Fecha:</STRONG> <FONT size=3>{$fecha_editcontrol}</FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  <STRONG>Cliente:</STRONG> <FONT size=3>{$cliente_editcontrol}</FONT></TD>
                <TD class=runner-cr></TD></TR>
              <TR class="runner-row style3 runner-b-legend {$brickclass_legend}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  {$displayDetailTable_det_venta}</TD>
                <TD class=runner-cr></TD></TR>
              <TR class="runner-row style3 runner-b-legend {$brickclass_legend}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  <STRONG><FONT 
                  size=5>Total venta=</FONT> </STRONG><FONT size=5>{$total_venta_editcontrol}</FONT></TD>
                <TD class=runner-cr></TD></TR>
              <TR class="runner-row style3 runner-b-legend {$brickclass_legend}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  {$displayDetailTable_cobro}</TD>
                <TD class=runner-cr></TD></TR>
              <TR class="runner-row style3 runner-b-legend {$brickclass_legend}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  <FONT 
                  size=5><STRONG>Total cobro= </STRONG>{$total_cobro_editcontrol}</FONT></TD>
                <TD class=runner-cr></TD></TR>
              <TR class="runner-row style3 runner-b-legend {$brickclass_legend}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  <STRONG><FONT 
                  size=3>Observaciones:</FONT></STRONG><FONT 
                size=3></FONT></TD>
                <TD class=runner-cr></TD></TR>
              <TR class="runner-row style3 runner-b-legend {$brickclass_legend}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  
                  <P align=left>{$observacion_editcontrol}</P></TD>
                <TD class=runner-cr></TD></TR>
              <TR class="runner-row style3 runner-b-legend {$brickclass_legend}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  <SPAN id=required_block{$id}><IMG alt=bullet src="images/icon_required.gif"> - Campos&nbsp;requeridos</SPAN></TD>
                <TD class=runner-cr></TD></TR>
              {END legend}<TR 
              class="runner-row style2 runner-b-addbuttons {$brickclass_addbuttons}">
                <TD class=runner-cl></TD>
                <TD class="runner-cc runner-brickcontents" colSpan=2>
                  
                  <P align=right>{BEGIN back_button}<SPAN class=runner-btnframe><SPAN class=runner-btnleft><FONT 
                  size=3></FONT></SPAN><SPAN class=runner-btnright><FONT size=3></FONT></SPAN><A class=runner-button href="#" {$backbutton_attrs}><FONT size=3>Cancelar</FONT></A><FONT 
                  size=3></FONT></SPAN>{END back_button}{BEGIN save_button}<SPAN class=runner-btnframe><SPAN class=runner-btnleft><FONT 
                  size=3></FONT></SPAN><SPAN class=runner-btnright><FONT size=3></FONT></SPAN><A class=runner-button href="#" {$savebutton_attrs}><FONT color=#009300 
                  size=3>Guardar</FONT></A><FONT 
                size=3></FONT></SPAN>{END save_button}</P></TD>
                <TD class=runner-cr></TD></TR>
              <TR class="{$cfooterclass_fields}">
                <TD class=runner-cl><IMG src="images/spacer.gif"></TD>
                <TD class=runner-cc></TD>
                <TD class=runner-cc></TD>
                <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR></TBODY></TABLE>{END container_fields}</TD>
          <TD class=runner-cr></TD></TR>
        <TR class="{$cfooterclass_add}">
          <TD class=runner-cl><IMG src="images/spacer.gif"></TD>
          <TD class=runner-cc></TD>
          <TD class=runner-cr><IMG src="images/spacer.gif"></TD></TR></TBODY></TABLE>{END container_add}</TD></TR>
  <TR class=runner-header>
    <TD class=runner-top colSpan=3>
      <P>&nbsp;</P>
      <P>&nbsp;</P></TD></TR>
  <TR class=runner-body>
    <TD class="runner-left {$blockclass_left}"></TD>
    <TD class="runner-center {$blockclass_center}"></TD>
    <TD class="runner-right {$blockclass_right}"></TD></TR>
  <TR class=runner-footer>
    <TD class=runner-bottom colSpan=3><!--%%bottom%%-->{$footer}</TD></TR></TBODY></TABLE>{END body}</BODY></HTML>
