<div id="orders_orders_form_form3" style='display: none; width: 1px; height: 0px; overflow: scroll'>
<?php $sc_hidden_no = 1; $sc_hidden_yes = 0; ?>
   <a name="bloco_0"></a>
   <table width="100%" height="100%" cellpadding="0"><tr valign="top"><td width="100%" height="">
<div id="div_hidden_bloco_7"><!-- bloco_c -->
<?php
?>
<TABLE align="center" id="hidden_bloco_7" class="scFormTable" width="100%" style="height: 100%;"><?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['order']))
           {
               $this->nmgp_cmp_readonly['order'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['adate']))
           {
               $this->nmgp_cmp_readonly['adate'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['edate']))
           {
               $this->nmgp_cmp_readonly['edate'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['quantity']))
           {
               $this->nmgp_cmp_readonly['quantity'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['amount']))
           {
               $this->nmgp_cmp_readonly['amount'] = 'on';
           }
?>
   <tr>


    <TD colspan="4" height="20" class="scFormBlock">
     <TABLE style="padding: 0px; spacing: 0px; border-width: 0px;" width="100%" height="100%">
      <TR>
       <TD align="" valign="" class="scFormBlockFont"><?php if ('' != $this->Ini->Block_img_exp && '' != $this->Ini->Block_img_col) { echo "<table style=\"border-collapse: collapse; height: 100%; width: 100%\"><tr><td style=\"vertical-align: middle; border-width: 0px; padding: 0px 2px 0px 0px\"><img src=\"" . $this->Ini->path_icones . "/" . $this->Ini->Block_img_col . "\" style=\"border: 0px; float: left\" class=\"sc-ui-block-control\"></td><td style=\"border-width: 0px; padding: 0px; width: 100%\" class=\"scFormBlockAlign\">"; } ?>Assortments<?php if ('' != $this->Ini->Block_img_exp && '' != $this->Ini->Block_img_col) { echo "</td></tr></table>"; } ?></TD>
       
      </TR>
     </TABLE>
    </TD>





   </tr>
<?php $sStyleHidden_rolls_dumb = ('' == $sStyleHidden_rolls) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_rolls_dumb" style="<?php echo $sStyleHidden_rolls_dumb; ?>"></TD>
<?php $sStyleHidden_tubes_dumb = ('' == $sStyleHidden_tubes) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_tubes_dumb" style="<?php echo $sStyleHidden_tubes_dumb; ?>"></TD>
<?php $sStyleHidden_quantity_dumb = ('' == $sStyleHidden_quantity) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_quantity_dumb" style="<?php echo $sStyleHidden_quantity_dumb; ?>"></TD>
<?php $sStyleHidden_amount_dumb = ('' == $sStyleHidden_amount) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_amount_dumb" style="<?php echo $sStyleHidden_amount_dumb; ?>"></TD>
<?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['shipped']))
           {
               $this->nmgp_cmp_readonly['shipped'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['open']))
           {
               $this->nmgp_cmp_readonly['open'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['dye']))
           {
               $this->nmgp_cmp_readonly['dye'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['released']))
           {
               $this->nmgp_cmp_readonly['released'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['value']))
           {
               $this->nmgp_cmp_readonly['value'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['fgi']))
           {
               $this->nmgp_cmp_readonly['fgi'] = 'on';
           }
?>
<?php
           if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['dday']))
           {
               $this->nmgp_cmp_readonly['dday'] = 'on';
           }
?>


   <?php
    if (!isset($this->nm_new_label['detail']))
    {
        $this->nm_new_label['detail'] = "";
    }
?>
<?php
   $nm_cor_fun_cel  = ($nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $detail = $this->detail;
   $sStyleHidden_detail = '';
   if (isset($this->nmgp_cmp_hidden['detail']) && $this->nmgp_cmp_hidden['detail'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['detail']);
       $sStyleHidden_detail = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_detail = 'display: none;';
   $sStyleReadInp_detail = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['detail']) && $this->nmgp_cmp_readonly['detail'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['detail']);
       $sStyleReadLab_detail = '';
       $sStyleReadInp_detail = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['detail']) && $this->nmgp_cmp_hidden['detail'] == 'off') { $sc_hidden_yes++;  ?>
<input type=hidden name="detail" value="<?php echo NM_encode_input($detail) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_detail" style="<?php echo $sStyleHidden_detail; ?>vertical-align: top;;"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td width="100%" class="scFormDataFontOdd" style=";;vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat" style=";" ><span id="id_label_detail"><?php echo $this->nm_new_label['detail']; ?></span></span><br>
<?php
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_proc']  = false;
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_form']  = true;
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_call']  = true;
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_multi'] = true;
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_liga_form_insert'] = 'on';
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_liga_form_update'] = 'on';
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_liga_form_delete'] = 'on';
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_liga_form_btn_nav'] = 'off';
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_liga_grid_edit'] = '';
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_liga_grid_edit_link'] = '';
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_liga_qtd_reg'] = '10';
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_liga_tp_pag'] = 'parcial';
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['embutida_parms'] = "NM_btn_insert?#?S?@?NM_btn_update?#?S?@?NM_btn_delete?#?S?@?NM_btn_navega?#?N?@?";
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['foreign_key']['order'] = $this->nmgp_dados_form['order'];
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['where_filter'] = "`ORDER` = '" . $this->nmgp_dados_form['order'] . "'";
 $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['where_detal']  = "`ORDER` = '" . $this->nmgp_dados_form['order'] . "'";
 if ($_SESSION['sc_session'][$this->Ini->sc_page]['orders_orders_form']['total'] < 0)
 {
     $_SESSION['sc_session'][$this->Ini->sc_page]['orders_asst_form']['where_filter'] = "1 <> 1";
 }
 $sDetailSrc = ('novo' == $this->nmgp_opcao) ? 'orders_orders_form_empty.htm' : $this->Ini->link_orders_asst_form_edit . '?script_case_init=' . NM_encode_input($this->Ini->sc_page . '&script_case_session=' . session_id() . '&script_case_detail=Y');
?>
<iframe border="0" id="nmsc_iframe_liga_orders_asst_form"  marginWidth="0" marginHeight="0" frameborder="0" valign="top" height="100" width="100%" name="nmsc_iframe_liga_orders_asst_form"  scrolling="auto" src="<?php echo $sDetailSrc; ?>"></iframe>
</td></tr><tr><td style="vertical-align: top; padding: 1px 0px 0px 0px"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_detail_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_detail_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>


    <TD class="scFormDataOdd" colspan="3" >&nbsp;</TD>





<?php if ($sc_hidden_yes > 0) { ?>


    <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" >&nbsp;</TD>





<?php } ?>
   </td></tr></table>
   </tr>
</TABLE></div><!-- bloco_f -->
   </div>
