src/org/openbravo/erpCommon/businessUtility/TabAttachments_F1.html
author Carlos Romero <carlos.romero@openbravo.com>
Tue, 06 Nov 2007 08:33:31 +0000
changeset 0 0247c26f10c6
child 378 5c93458e2916
permissions -rw-r--r--
Modified PostgreSQL post script in order to include C_DEBT_PAYMENT_GENERATE modification tules
carlos@0
     1
<!--
carlos@0
     2
 *************************************************************************
carlos@0
     3
 * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     4
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     5
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     6
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     7
 * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     8
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
     9
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    10
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    11
 * under the License. 
carlos@0
    12
 * The Original Code is Openbravo ERP. 
carlos@0
    13
 * The Initial Developer of the Original Code is Openbravo SL 
carlos@0
    14
 * All portions are Copyright (C) 2001-2007 Openbravo SL 
carlos@0
    15
 * All Rights Reserved. 
carlos@0
    16
 * Contributor(s):  ______________________________________.
carlos@0
    17
 ************************************************************************
carlos@0
    18
-->
carlos@0
    19
<HTML>
carlos@0
    20
<HEAD>
carlos@0
    21
<TITLE>Attached files</TITLE>
carlos@0
    22
carlos@0
    23
<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
carlos@0
    24
<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
carlos@0
    25
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>      
carlos@0
    26
carlos@0
    27
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
carlos@0
    28
<SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
carlos@0
    29
carlos@0
    30
carlos@0
    31
carlos@0
    32
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
carlos@0
    33
      <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
carlos@0
    34
      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    35
      <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    36
      <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
carlos@0
    37
      <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">	var baseDirection = "localhost";</SCRIPT>
carlos@0
    38
      <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
carlos@0
    39
      <script type="text/javascript">
carlos@0
    40
        dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    41
      </script>
carlos@0
    42
      <script type="text/javascript">
carlos@0
    43
      var selectedRadio = "";
carlos@0
    44
        function selectActual(obj) {
carlos@0
    45
          if (selectedRadio != "") {
carlos@0
    46
            changeClass("funcEvenOddRow" + selectedRadio, " Popup_Client_Selector_SelectedRow_bg", "", true);
carlos@0
    47
          }
carlos@0
    48
          selectedRadio = obj.getAttribute("pos");
carlos@0
    49
          document.getElementById("funcEvenOddRow" + selectedRadio).className += " Popup_Client_Selector_SelectedRow_bg";
carlos@0
    50
         }
carlos@0
    51
         </script>
carlos@0
    52
</head>
carlos@0
    53
carlos@0
    54
carlos@0
    55
<body>
carlos@0
    56
carlos@0
    57
<div class="Popup_ContentPane_CircleLogo">
carlos@0
    58
  <div class="Popup_WindowLogo">
carlos@0
    59
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_attachment" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
    60
  </div>
carlos@0
    61
</div>
carlos@0
    62
carlos@0
    63
<table cellspacing="0" cellpadding="0" width="100%">
carlos@0
    64
 <form id="form" method="POST" action="TabAttachments_F1.html" name="frmMain">
carlos@0
    65
  <INPUT type="hidden" name="Command">
carlos@0
    66
<INPUT type="hidden" name="IsPopUpCall" value="1">
carlos@0
    67
  <INPUT type="hidden" name="inpTabId" value="xx" id="paramTabId">
carlos@0
    68
  <INPUT type="hidden" name="inpwindowId" value="xx" id="paramWindow"> 
carlos@0
    69
  <INPUT type="hidden" name="inpKey" value="xx" id="paramKey">
carlos@0
    70
  <tr>
carlos@0
    71
    <td>
carlos@0
    72
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
    73
        <tr class="Popup_NavBar_bg"><td></td>
carlos@0
    74
          <td class="Popup_NavBar_separator_cell"></td>
carlos@0
    75
          <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
    76
          <td class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><IMG src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
carlos@0
    77
          <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
    78
          <td class="Popup_NavBar_Popup_title_cell"><span>Attachment</span></td>
carlos@0
    79
          <td class="Popup_NavBar_separator_cell"></td>
carlos@0
    80
        </tr>
carlos@0
    81
      </table>
carlos@0
    82
    </td>
carlos@0
    83
  </tr>
carlos@0
    84
carlos@0
    85
  <tr>
carlos@0
    86
    <td>
carlos@0
    87
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
    88
        <tr>
carlos@0
    89
          <td class="Popup_SeparatorBar_bg"></td>
carlos@0
    90
        </tr>
carlos@0
    91
      </table>
carlos@0
    92
    </td>
carlos@0
    93
  </tr>
carlos@0
    94
carlos@0
    95
  
carlos@0
    96
  <!-- MessageBox -->
carlos@0
    97
                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
carlos@0
    98
                              <TBODY>
carlos@0
    99
                              <tr class="MessageBox_TopMargin">
carlos@0
   100
                                <td class="MessageBox_LeftMargin"></td>
carlos@0
   101
                                <td></td>
carlos@0
   102
                                <td class="MessageBox_RightMargin"></td>
carlos@0
   103
                              </tr>
carlos@0
   104
                              <tr>
carlos@0
   105
                                <td class="MessageBox_LeftMargin"></td>
carlos@0
   106
                                <td>
carlos@0
   107
carlos@0
   108
                                  <table cellpadding="0" cellspacing="0" style="width: 100%;">
carlos@0
   109
                                    <TBODY>
carlos@0
   110
                                    <tr>
carlos@0
   111
                                      <td>
carlos@0
   112
                                        <div class="MessageBox_TopLeft"></div>
carlos@0
   113
                                        <div class="MessageBox_Left"></div>
carlos@0
   114
                                      </td>
carlos@0
   115
                                      <td class="MessageBox_bg">
carlos@0
   116
carlos@0
   117
                                        <table class="MessageBox_Top">
carlos@0
   118
                                        <TBODY>
carlos@0
   119
                                          <tr>
carlos@0
   120
                                            <td>
carlos@0
   121
                                              <span>
carlos@0
   122
                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
carlos@0
   123
                                                <TBODY>
carlos@0
   124
                                                <tr>
carlos@0
   125
                                                  <td class="MessageBox_Icon_ContentCell">
carlos@0
   126
                                                    <div class="MessageBox_Icon"></div>
carlos@0
   127
                                                  </td>
carlos@0
   128
                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
carlos@0
   129
                                                    <span>
carlos@0
   130
                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
carlos@0
   131
                                                        xxInfo: AccessTableWithNoView
carlos@0
   132
                                                      </div>
carlos@0
   133
                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
carlos@0
   134
                                                        xxThe current information is empty.
carlos@0
   135
                                                      </div>
carlos@0
   136
                                                      <div class="MessageBox_TextSeparator"></div>
carlos@0
   137
                                                    </span>
carlos@0
   138
                                                  </td>
carlos@0
   139
                                                </tr>
carlos@0
   140
                                                </TBODY>
carlos@0
   141
                                              </table>
carlos@0
   142
                                              </span>
carlos@0
   143
                                            </td>
carlos@0
   144
                                          </tr>
carlos@0
   145
                                          </TBODY>
carlos@0
   146
                                        </table>
carlos@0
   147
carlos@0
   148
                                      </td>
carlos@0
   149
                                      <td class="MessageBox_RightTrans">
carlos@0
   150
                                        <div class="MessageBox_TopRight"></div>
carlos@0
   151
                                        <div class="MessageBox_Right"></div>
carlos@0
   152
                                      </td>
carlos@0
   153
                                    </tr>
carlos@0
   154
                                    <tr>
carlos@0
   155
                                      <td rowspan="2" class="MessageBox_BottomLeft">
carlos@0
   156
                                      </td>
carlos@0
   157
                                      <td class="MessageBox_BottomTrans MessageBox_bg">
carlos@0
   158
                                      </td>
carlos@0
   159
                                      <td rowspan="2" class="MessageBox_BottomRight">
carlos@0
   160
                                      </td>
carlos@0
   161
                                    </tr>
carlos@0
   162
                                    <tr>
carlos@0
   163
                                      <td class="MessageBox_Bottom">
carlos@0
   164
                                      </td>
carlos@0
   165
                                    </tr>
carlos@0
   166
                                    </TBODY>
carlos@0
   167
                                  </table>
carlos@0
   168
carlos@0
   169
                                </td>
carlos@0
   170
                                <td class="MessageBox_RightMargin"></td>
carlos@0
   171
                              </tr>
carlos@0
   172
                              <tr class="MessageBox_BottomMargin">
carlos@0
   173
                                <td class="MessageBox_LeftMargin"></td>
carlos@0
   174
                                <td></td>
carlos@0
   175
                                <td class="MessageBox_RightMargin"></td>
carlos@0
   176
                              </tr>
carlos@0
   177
                              </TBODY>
carlos@0
   178
                            </table>
carlos@0
   179
  
carlos@0
   180
  
carlos@0
   181
  <tr>
carlos@0
   182
    <td>
carlos@0
   183
      <div class="Popup_ContentPane_Client" style="overflow: auto;">
carlos@0
   184
        <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
carlos@0
   185
carlos@0
   186
          <tr>
carlos@0
   187
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   188
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   189
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   190
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   191
          </tr>
carlos@0
   192
carlos@0
   193
          <tr>
carlos@0
   194
            <td class="TitleCell"> <SPAN class="LabelText">Attached to</SPAN></td>
carlos@0
   195
            <td class="ContentCell" colspan="2"> <span class="Label_ReadOnly_Text" id="paramRecordIdentifier">xxAtachedRecord</span></td>
carlos@0
   196
            <td/>
carlos@0
   197
          </tr>
carlos@0
   198
carlos@0
   199
          
carlos@0
   200
carlos@0
   201
          <tr id="noData">
carlos@0
   202
            <td/>
carlos@0
   203
            <td colspan="2"class="TitleCell"> <SPAN class="LabelText">No files attached</SPAN></td>
carlos@0
   204
            <td>
carlos@0
   205
            <td/>
carlos@0
   206
          </tr>
carlos@0
   207
          <tr id="widthData">
carlos@0
   208
            <td colspan="4">
carlos@0
   209
              <table class="Border" border="1" cellspacing="0" cellpadding="0" width="100%"> <!--style="text-align:-moz-center;_text-align:center;"-->
carlos@0
   210
                <div class="Popup_ContentPane_Client" style="overflow: auto;">
carlos@0
   211
                  <TR class="Popup_Client_Selector_DataGrid_HeaderRow"> 
carlos@0
   212
                  
carlos@0
   213
                    <TH width="3%"  class="datagridLineNoHeaderCell">&nbsp;</TH>
carlos@0
   214
                    <TH width="33%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">File name</TH>
carlos@0
   215
                    <TH width="52%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">Text</TH>
carlos@0
   216
                    <TH width="12%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">type</TH>
carlos@0
   217
                  </TR>
carlos@0
   218
                  
carlos@0
   219
                  
carlos@0
   220
                  
carlos@0
   221
                  <DIV id="sectionDetail"> 
carlos@0
   222
                    <TR class="Popup_Client_Selector_DataGrid_Row Popup_Client_Selector_yyRow_bg" id="funcEvenOddRowxx">
carlos@0
   223
                      <TD class="datagridLineNoCell"> 
carlos@0
   224
                        <INPUT type="radio" name="inpcFileId" onclick="selectActual(this); return true;"value="xx" id="fieldC_File_ID" class="CheckBox" pos="pp">
carlos@0
   225
                      </TD>
carlos@0
   226
                      <TD id="fieldName">xx</TD>
carlos@0
   227
                      <TD id="fieldText">xx</TD>
carlos@0
   228
                      <TD id="fieldDataType">xx</TD>
carlos@0
   229
                    </TR>
carlos@0
   230
                  </DIV>
carlos@0
   231
                </div>
carlos@0
   232
              </table>
carlos@0
   233
             </td>
carlos@0
   234
          </tr>
carlos@0
   235
          <tr><td height="20px"></td></tr>
carlos@0
   236
carlos@0
   237
          <tr>
carlos@0
   238
            <td class="Button_RightAlign_ContentCell">
carlos@0
   239
              <div>
carlos@0
   240
                <table class="Button" 
carlos@0
   241
                onclick="submitCommandForm('NEW', false, null, 'TabAttachments_F1.html', '_self');return false;"
carlos@0
   242
                onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='HTML_Report';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
carlos@0
   243
                  <tr>
carlos@0
   244
                    <td class="Button_left"></td>
carlos@0
   245
                    <td class="Button_text Button_width">Add</td>
carlos@0
   246
                    <td class="Button_right"></td>
carlos@0
   247
                  </tr>
carlos@0
   248
                </table>
carlos@0
   249
              </div>
carlos@0
   250
            </td>
carlos@0
   251
            <td class="Button_RightAlign_ContentCell">
carlos@0
   252
              <div id="widthData">
carlos@0
   253
                <table class="Button" 
carlos@0
   254
                onclick="submitCommandForm('EDIT', false, null, 'TabAttachments_F1.html', '_self');return false;" 
carlos@0
   255
                onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='HTML_Report';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
carlos@0
   256
                  <tr>
carlos@0
   257
                    <td class="Button_left"></td>
carlos@0
   258
                    <td class="Button_text Button_width">Edit</td>
carlos@0
   259
                    <td class="Button_right"></td>
carlos@0
   260
                  </tr>
carlos@0
   261
                </table>
carlos@0
   262
              </div>
carlos@0
   263
            </td>
carlos@0
   264
            <td class="Button_LeftAlign_ContentCell">
carlos@0
   265
              <div id="widthData">
carlos@0
   266
                <table class="Button" 
carlos@0
   267
                onclick="submitCommandForm('DISPLAY_DATA', false, null, 'TabAttachments_F1.html', '_self');return false;" 
carlos@0
   268
                onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='PDF_Report';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
carlos@0
   269
                  <tr>
carlos@0
   270
                    <td class="Button_left"></td>
carlos@0
   271
                    <td class="Button_text Button_width">Download</td>
carlos@0
   272
                    <td class="Button_right"></td>
carlos@0
   273
                  </tr>
carlos@0
   274
                </table>
carlos@0
   275
              </div>
carlos@0
   276
            </td>
carlos@0
   277
            <td class="Button_RightAlign_ContentCell">
carlos@0
   278
              <div id="widthData">
carlos@0
   279
                <table class="Button" 
carlos@0
   280
                onclick="submitCommandForm('DELETE', false, null, 'TabAttachments_F1.html', '_self');return false;"
carlos@0
   281
                onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='HTML_Report';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
carlos@0
   282
                  <tr>
carlos@0
   283
                    <td class="Button_left"></td>
carlos@0
   284
                    <td class="Button_text Button_width">Delete</td>
carlos@0
   285
                    <td class="Button_right"></td>
carlos@0
   286
                  </tr>
carlos@0
   287
                </table>
carlos@0
   288
              </div>
carlos@0
   289
            </td>
carlos@0
   290
          </tr>
carlos@0
   291
carlos@0
   292
        </table>
carlos@0
   293
      </div>
carlos@0
   294
    </td>
carlos@0
   295
  </tr>
carlos@0
   296
  </form>
carlos@0
   297
</table>
carlos@0
   298
carlos@0
   299
</body>
carlos@0
   300
</html>