bak
This commit is contained in:
@@ -344,6 +344,19 @@ def expediente_archivo_artifact_key(
|
||||
return f"{tenant_company_prefix(tenant_id, company_id)}expediente_archivos/{eid}/artifacts/{at}_{ts}{ext}"
|
||||
|
||||
|
||||
def cove_acuse_pdf_key(
|
||||
tenant_id: Union[int, str],
|
||||
company_id: int,
|
||||
invoice_id: int,
|
||||
) -> str:
|
||||
"""
|
||||
PDF de Acuse de COVE bajo
|
||||
``.../invoices/{invoice_id}/cove/acuse_cove.pdf`` (clave estable por factura).
|
||||
"""
|
||||
iid = _segment(invoice_id, "invoice_id")
|
||||
return f"{tenant_company_prefix(tenant_id, company_id)}invoices/{iid}/cove/acuse_cove.pdf"
|
||||
|
||||
|
||||
def help_asset_key(folder: str, new_filename: str) -> str:
|
||||
"""
|
||||
folder: '', 'pdfs', 'videos', 'assets' relativo a system/help/
|
||||
|
||||
Reference in New Issue
Block a user