Uecko_ERP_FactuGES_sync/app/utils/__init__.py

28 lines
840 B
Python

from .importes_helper import (
apply_discount_cents4,
cents,
cents4,
money_round,
unscale_to_decimal,
unscale_to_str,
)
from .last_execution_helper import (
actualizar_fecha_ultima_ejecucion,
obtener_fecha_ultima_ejecucion,
)
from .mails_helper import corregir_y_validar_email
from .password import hashPassword
from .send_orders_mail import send_orders_mail
from .send_rest_api import crear_factura, estado_factura, validar_nif
from .tax_catalog_helper import (
TaxCatalog,
calc_item_tax_amount,
get_default_tax_catalog,
map_iva_code,
map_rec_by_iva_code,
tax_fraction_from_code,
)
from .telefonos_helper import normalizar_telefono_con_plus
from .text_converter import limpiar_cadena, text_converter
from .websites_helper import normalizar_url_para_insert