/[papo]/papo/forms/client.gfd
ViewVC logotype

Diff of /papo/forms/client.gfd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.56 by charlie, Wed Apr 9 19:13:09 2003 UTC revision 1.57 by styxman, Thu Apr 10 15:27:58 2003 UTC
# Line 420  Line 420 
420  <!--       </and> -->  <!--       </and> -->
421  <!--     </condition> -->  <!--     </condition> -->
422  <!--   </datasource> -->  <!--   </datasource> -->
423      
424  <!--   <datasource database="papo" name="categoryAtributeResultDataSource" -->  <!--   <datasource database="papo" name="categoryAtributeResultDataSource" -->
425  <!--     table="category_attribute, _category_attribute_data" historytable="_category_attribute_data">  -->  <!--     table="category_attribute, _category_attribute_data" historytable="_category_attribute_data">  -->
426  <!--     <condition> -->  <!--     <condition> -->
# Line 457  Line 457 
457      if not str(clientTaxProfileBlock.taxProfileEntry):      if not str(clientTaxProfileBlock.taxProfileEntry):
458        message+= 'Debe ingresar un categoría de IVA\n'        message+= 'Debe ingresar un categoría de IVA\n'
459        isOk= 0        isOk= 0
460        # responsable inscripto=> need cuit
461        if str(clientTaxProfileBlock.taxProfileEntry)=='1' and not str(clientUID_CUIT_Block.uidEntry):
462          message+= 'El cliente es Responsable Inscripto. Debe ingresar su CUIT.\n'
463          isOk= 0
464    
465      if isOk:      if isOk:
466        if clientBlock.getCurrentRecord().isInserted():        if clientBlock.getCurrentRecord().isInserted():
# Line 1077  Line 1081 
1081          <entry name="movementTypeEntry" field="_credit_limit_data.movement_type" hidden=""          <entry name="movementTypeEntry" field="_credit_limit_data.movement_type" hidden=""
1082            x="1" y="1" width="14"/>            x="1" y="1" width="14"/>
1083          <label text="Límite de Crédito:"          <label text="Límite de Crédito:"
1084            x="1" y="8"/>            x="1" y="7"/>
1085          <entry name="creditLimitEntry" field="_credit_limit_data.credit_limit"          <entry name="creditLimitEntry" field="_credit_limit_data.credit_limit"
1086            x="20" y="8" width="14"/>            x="1" y="8" width="14"/>
1087        </block>        </block>
1088    
1089        <block name="clientTaxProfileBlock" datasource="clientTaxProfileDataSource"        <block name="clientTaxProfileBlock" datasource="clientTaxProfileDataSource"
# Line 1102  Line 1106 
1106            x="33" y="12" width="24">            x="33" y="12" width="24">
1107            <trigger type="PRE-FOCUSOUT"><![CDATA[            <trigger type="PRE-FOCUSOUT"><![CDATA[
1108              from cuit import validate              from cuit import validate
1109                
1110              if not validate (str(clientUID_CUIT_Block.uidEntry)):              if not validate (str(clientUID_CUIT_Block.uidEntry)):
1111                  form.genericBox ('El CUIT es inválido', ['Aceptar'])                  form.genericBox ('El CUIT es inválido', ['Aceptar'])
1112              ]]></trigger>              ]]></trigger>
# Line 1193  Line 1197 
1197  <!-- categorias -->  <!-- categorias -->
1198  <!--   <page name="Categorias"> -->  <!--   <page name="Categorias"> -->
1199  <!--        <trigger type="Pre-Focusin" src="attributeNameSearchTrigger"/>  -->  <!--        <trigger type="Pre-Focusin" src="attributeNameSearchTrigger"/>  -->
1200          
1201  <!--     <box label="Direcciones" -->  <!--     <box label="Direcciones" -->
1202  <!--       x="0" y="0" height="5" width="84"> -->  <!--       x="0" y="0" height="5" width="84"> -->
1203  <!--       <block name="categoryClientBlock" datasource="clientDataSource"> -->  <!--       <block name="categoryClientBlock" datasource="clientDataSource"> -->
# Line 1244  Line 1248 
1248  <!--            <entry name="categoryAtributeResultNameEntry" field="_category_attribute_data.name" -->  <!--            <entry name="categoryAtributeResultNameEntry" field="_category_attribute_data.name" -->
1249  <!--              x="61" y="8" width="20" hidden=""/> -->  <!--              x="61" y="8" width="20" hidden=""/> -->
1250  <!--       </block> -->  <!--       </block> -->
1251          
1252  <!--     </box> -->  <!--     </box> -->
1253  <!--   </page> -->  <!--   </page> -->
1254  <!-- /attribute  -->  <!-- /attribute  -->

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26