feat(conciliacion): columnas de regimen en tabla Por conciliar segun tab
This commit is contained in:
@@ -13,6 +13,8 @@ export interface ConciliacionCfdi {
|
||||
nombreEmisor: string;
|
||||
rfcReceptor: string;
|
||||
nombreReceptor: string;
|
||||
regimenFiscalEmisor: string | null;
|
||||
regimenFiscalReceptor: string | null;
|
||||
total: number;
|
||||
totalMxn: number;
|
||||
subtotal: number;
|
||||
@@ -98,6 +100,7 @@ export async function getCfdisConConciliacion(
|
||||
c.fecha_emision as "fechaEmision",
|
||||
c.rfc_emisor as "rfcEmisor", c.nombre_emisor as "nombreEmisor",
|
||||
c.rfc_receptor as "rfcReceptor", c.nombre_receptor as "nombreReceptor",
|
||||
c.regimen_fiscal_emisor as "regimenFiscalEmisor", c.regimen_fiscal_receptor as "regimenFiscalReceptor",
|
||||
c.total, c.total_mxn as "totalMxn",
|
||||
c.subtotal, c.descuento,
|
||||
c.moneda, c.tipo_cambio as "tipoCambio",
|
||||
@@ -136,6 +139,8 @@ export async function getCfdisConConciliacion(
|
||||
nombreEmisor: r.nombreEmisor,
|
||||
rfcReceptor: r.rfcReceptor,
|
||||
nombreReceptor: r.nombreReceptor,
|
||||
regimenFiscalEmisor: r.regimenFiscalEmisor,
|
||||
regimenFiscalReceptor: r.regimenFiscalReceptor,
|
||||
total: Number(r.total),
|
||||
totalMxn: Number(r.totalMxn),
|
||||
subtotal: Number(r.subtotal || 0),
|
||||
|
||||
Reference in New Issue
Block a user