Giter VIP home page Giter VIP logo

Comments (4)

Daniel-Furcht avatar Daniel-Furcht commented on July 17, 2024

Verifique o meu Pull Request, que adiciona outros CSOSNs, lá encontrara os comentarios deste problema, já apontados pelo Sr. Renato. No post do Sr. Raphael, encontrara a explicação.
Se puderes testar meu Pull Request e comentar sua experiencia, agradeço.

from l10n-brazil.

mileo avatar mileo commented on July 17, 2024

Definitivamente o uso de uma tupla funciona.

icms_cst = '00'
if icms_cst in ('00',):
print "CST 00"
if icms_cst in ('20',):
print "cst 20"
if icms_cst in ('10',):
print "cst 10"
if icms_cst in ('40', '50'):
print "cst 40 e 50"
if icms_cst in ('41',):
print "cst 41"
if icms_cst in ('51',):
print "cst 54"
if icms_cst in ('60',):
print "cst 60"
if icms_cst in ('70',):
print "cst 70"
if icms_cst in ('90',):
print "cst 90"
if icms_cst in ('101',):
print "cst 101"
if icms_cst in ('900',):
print "cst 900"
if icms_cst in ('400'):
print "cst 400"

CST 00
cst 400

from l10n-brazil.

Daniel-Furcht avatar Daniel-Furcht commented on July 17, 2024

Isso, é uma mudança pequena no código, mas surte o efeito esperado..
Em breve estarei postando o restante das CSOSNs para uso em empresas do Simples Nacional.

from l10n-brazil.

Daniel-Furcht avatar Daniel-Furcht commented on July 17, 2024

Corrigido no último commit ;).

from l10n-brazil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.