sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+430462.22+20.00>=deposit OR 430462.22 = 0,'LT','LP')
, usado = usado + 430462.22
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-10-18 17:41:09'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-10-18 17:41:09'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = '208810db20c68c2111ef8daa73cb31e5'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68c2111ef8daa73cb7759', '208810db20c68c2111ef8daa73cb31e5', 'inversion_reembolso', '208810db20c68c2111ef8daa73cb65c3', '', 'sistema', '2024-10-18 17:41:09')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c68c2111ef8daa73cb65c3','49','430242.35','430462.22','0','219.87','219.87','2024-10-11 17:41:14','2024-10-18 17:41:09','2024-10-18 17:41:09','sistema','9','208810db20c68c2111ef8daa73cb31e5','208810db20c68c2111ef8daa73cb7759','29111','cc483a12801a851711ef82a55f4666f9')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-10-11 17:41:14', fecha_terminado='2024-10-18 17:41:09', inversion_reembolso_id='208810db20c68c2111ef8daa73cb65c3', monto_interes='219.87', monto_interes_real='219.87', monto_reembolsado='430242.35', saldo='0', terminado='Si', ultimo_cambio='2024-10-18 17:41:09', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801a851711ef82a55f4666f9'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801a851711ef82a55f4666f9','2024-10-18 17:41:09','rony','2','
| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 11/Oct/24 | |
| Fecha Terminado | 18/Oct/24 | |
| Inversión Reembolso | | |
| Intereses | 219.87 | |
| Monto Interés Real | 219.87 | |
| Monto Pagado | 430,242.35 | |
| Saldo | 0.00 | 430,242.35 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c68c2111ef8daa73cb65c3
[banco_cuenta_id] => 49
[monto_reembolsado] => 430242.35
[monto_global_reembolso] => 430462.22
[monto_isr] => 0
[monto_interes] => 219.87
[monto_interes_real] => 219.87
[fecha_deposito] => 2024-10-11 17:41:14
[fecha] => 2024-10-18 17:41:09
[alta_db] => 2024-10-18 17:41:09
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c68c2111ef8daa73cb31e5
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c68c2111ef8daa73cb7759
[ref_num] => 29111
[deposit_fecha] => 2024-10-11 17:41:14
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '49' AND ((cash + deposit - withdrawal) = 430462.22) AND fecha between '2024-10-11 00:00:00' AND '2024-10-11 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c68c2111ef8daa73cb31e5
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+430462.22+20.00>=deposit OR 430462.22 = 0,'LT','LP')
, usado = usado + 430462.22
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-10-18 17:41:09'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-10-18 17:41:09'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = '208810db20c68c2111ef8daa73cb31e5'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68c2111ef8daa73cb7759', '208810db20c68c2111ef8daa73cb31e5', 'inversion_reembolso', '208810db20c68c2111ef8daa73cb65c3', '', 'sistema', '2024-10-18 17:41:09')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+430682.21+20.00>=deposit OR 430682.21 = 0,'LT','LP')
, usado = usado + 430682.21
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-10-21 11:58:40'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-10-21 11:58:40'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = '208810db20c6b41f11ef8fd61a77167e'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c6b41f11ef8fd61a77491e', '208810db20c6b41f11ef8fd61a77167e', 'inversion_reembolso', '208810db20c6b41f11ef8fd61a7736e1', '', 'sistema', '2024-10-21 11:58:40')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c6b41f11ef8fd61a7736e1','49','430462.22','430682.21','0','219.99000000005','219.99000000005','2024-10-18 11:58:42','2024-10-21 11:58:40','2024-10-21 11:58:40','sistema','9','208810db20c6b41f11ef8fd61a77167e','208810db20c6b41f11ef8fd61a77491e','2941','cc483a12801ab45411ef882f37e8d587')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-10-18 11:58:42', fecha_terminado='2024-10-21 11:58:40', inversion_reembolso_id='208810db20c6b41f11ef8fd61a7736e1', monto_interes='219.99000000005', monto_interes_real='219.99000000005', monto_reembolsado='430462.22', saldo='0', terminado='Si', ultimo_cambio='2024-10-21 11:58:40', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801ab45411ef882f37e8d587'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801ab45411ef882f37e8d587','2024-10-21 11:58:40','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 18/Oct/24 | |
| Fecha Terminado | 21/Oct/24 | |
| Inversión Reembolso | | |
| Intereses | 219.99 | |
| Monto Interés Real | 219.99 | |
| Monto Pagado | 430,462.22 | |
| Saldo | 0.00 | 430,462.22 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c6b41f11ef8fd61a7736e1
[banco_cuenta_id] => 49
[monto_reembolsado] => 430462.22
[monto_global_reembolso] => 430682.21
[monto_isr] => 0
[monto_interes] => 219.99000000005
[monto_interes_real] => 219.99000000005
[fecha_deposito] => 2024-10-18 11:58:42
[fecha] => 2024-10-21 11:58:40
[alta_db] => 2024-10-21 11:58:40
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c6b41f11ef8fd61a77167e
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c6b41f11ef8fd61a77491e
[ref_num] => 2941
[deposit_fecha] => 2024-10-18 11:58:42
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '49' AND ((cash + deposit - withdrawal) = 430682.21) AND fecha between '2024-10-18 00:00:00' AND '2024-10-18 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c6b41f11ef8fd61a77167e
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+430682.21+20.00>=deposit OR 430682.21 = 0,'LT','LP')
, usado = usado + 430682.21
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-10-21 11:58:40'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-10-21 11:58:40'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = '208810db20c6b41f11ef8fd61a77167e'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c6b41f11ef8fd61a77491e', '208810db20c6b41f11ef8fd61a77167e', 'inversion_reembolso', '208810db20c6b41f11ef8fd61a7736e1', '', 'sistema', '2024-10-21 11:58:40')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+1046933.11+0.00>=deposit OR 1046933.11 = 0,'LT','LP')
, usado = usado + 1046933.11
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-12 16:14:21'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-12 16:14:21'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = '208810db20c68cb011efa1437797ed60'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68cb011efa14377985a64', '208810db20c68cb011efa1437797ed60', 'inversion_reembolso', '208810db20c68cb011efa14377984483', '', 'sistema', '2024-11-12 16:14:21')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c68cb011efa14377984483','51','1046394.30','1046933.11','0','538.80999999994','538.80999999994','2024-11-08 16:14:25','2024-11-12 16:14:21','2024-11-12 16:14:21','sistema','5','208810db20c68cb011efa1437797ed60','208810db20c68cb011efa14377985a64','3161','cc483a12801a9eba11ef98973a7373d4')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-11-08 16:14:25', fecha_terminado='2024-11-12 16:14:21', inversion_reembolso_id='208810db20c68cb011efa14377984483', monto_interes='538.80999999994', monto_interes_real='538.80999999994', monto_reembolsado='1046394.30', saldo='0', terminado='Si', ultimo_cambio='2024-11-12 16:14:21', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801a9eba11ef98973a7373d4'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801a9eba11ef98973a7373d4','2024-11-12 16:14:21','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 08/Nov/24 | |
| Fecha Terminado | 12/Nov/24 | |
| Inversión Reembolso | | |
| Intereses | 538.81 | |
| Monto Interés Real | 538.81 | |
| Monto Pagado | 1,046,394.30 | |
| Saldo | 0.00 | 1,046,394.30 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c68cb011efa14377984483
[banco_cuenta_id] => 51
[monto_reembolsado] => 1046394.30
[monto_global_reembolso] => 1046933.11
[monto_isr] => 0
[monto_interes] => 538.80999999994
[monto_interes_real] => 538.80999999994
[fecha_deposito] => 2024-11-08 16:14:25
[fecha] => 2024-11-12 16:14:21
[alta_db] => 2024-11-12 16:14:21
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c68cb011efa1437797ed60
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c68cb011efa14377985a64
[ref_num] => 3161
[deposit_fecha] => 2024-11-08 16:14:25
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '51' AND ((cash + deposit - withdrawal) = 1046933.11) AND fecha between '2024-11-08 00:00:00' AND '2024-11-08 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c68cb011efa1437797ed60
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+1046933.11+0.00>=deposit OR 1046933.11 = 0,'LT','LP')
, usado = usado + 1046933.11
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-12 16:14:21'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-12 16:14:21'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = '208810db20c68cb011efa1437797ed60'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68cb011efa14377985a64', '208810db20c68cb011efa1437797ed60', 'inversion_reembolso', '208810db20c68cb011efa14377984483', '', 'sistema', '2024-11-12 16:14:21')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+11388.46+0.00>=deposit OR 11388.46 = 0,'LT','LP')
, usado = usado + 11388.46
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-12 16:28:42'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-12 16:28:42'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '59' AND banco_cuenta_mov_id = '208810db20c68cb011efa1457912ea3c'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68cb011efa14579138349', '208810db20c68cb011efa1457912ea3c', 'inversion_reembolso', '208810db20c68cb011efa145791346fc', '', 'sistema', '2024-11-12 16:28:42')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c68cb011efa145791346fc','59','11382.64','11388.46','0','5.8199999999997','5.8199999999997','2024-11-08 16:28:48','2024-11-12 16:28:42','2024-11-12 16:28:42','sistema','17','208810db20c68cb011efa1457912ea3c','208810db20c68cb011efa14579138349','3162','cc483a12801a9eba11ef98973a9c2a4f')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-11-08 16:28:48', fecha_terminado='2024-11-12 16:28:42', inversion_reembolso_id='208810db20c68cb011efa145791346fc', monto_interes='5.8199999999997', monto_interes_real='5.8199999999997', monto_reembolsado='11382.64', saldo='0', terminado='Si', ultimo_cambio='2024-11-12 16:28:42', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801a9eba11ef98973a9c2a4f'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801a9eba11ef98973a9c2a4f','2024-11-12 16:28:42','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 08/Nov/24 | |
| Fecha Terminado | 12/Nov/24 | |
| Inversión Reembolso | | |
| Intereses | 5.82 | |
| Monto Interés Real | 5.82 | |
| Monto Pagado | 11,382.64 | |
| Saldo | 0.00 | 11,382.64 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c68cb011efa145791346fc
[banco_cuenta_id] => 59
[monto_reembolsado] => 11382.64
[monto_global_reembolso] => 11388.46
[monto_isr] => 0
[monto_interes] => 5.8199999999997
[monto_interes_real] => 5.8199999999997
[fecha_deposito] => 2024-11-08 16:28:48
[fecha] => 2024-11-12 16:28:42
[alta_db] => 2024-11-12 16:28:42
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c68cb011efa1457912ea3c
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c68cb011efa14579138349
[ref_num] => 3162
[deposit_fecha] => 2024-11-08 16:28:48
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '59' AND ((cash + deposit - withdrawal) = 11388.46) AND fecha between '2024-11-08 00:00:00' AND '2024-11-08 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c68cb011efa1457912ea3c
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+11388.46+0.00>=deposit OR 11388.46 = 0,'LT','LP')
, usado = usado + 11388.46
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-12 16:28:42'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-12 16:28:42'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '59' AND banco_cuenta_mov_id = '208810db20c68cb011efa1457912ea3c'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68cb011efa14579138349', '208810db20c68cb011efa1457912ea3c', 'inversion_reembolso', '208810db20c68cb011efa145791346fc', '', 'sistema', '2024-11-12 16:28:42')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+150584.67+0.00>=deposit OR 150584.67 = 0,'LT','LP')
, usado = usado + 150584.67
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:25:19'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:25:19'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '59' AND banco_cuenta_mov_id = '208810db20c68fb711efae87ab812a3f'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae87ab8183c7', '208810db20c68fb711efae87ab812a3f', 'inversion_reembolso', '208810db20c68fb711efae87ab8170cb', '', 'sistema', '2024-11-29 13:25:19')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c68fb711efae87ab8170cb','59','150515.06','150584.67','0','69.610000000015','69.610000000015','2024-11-29 13:25:21','2024-11-29 13:25:19','2024-11-29 13:25:19','sistema','17','208810db20c68fb711efae87ab812a3f','208810db20c68fb711efae87ab8183c7','3331','cc483a12801a869c11efa91309954232')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-11-29 13:25:21', fecha_terminado='2024-11-29 13:25:19', inversion_reembolso_id='208810db20c68fb711efae87ab8170cb', monto_interes='69.610000000015', monto_interes_real='69.610000000015', monto_reembolsado='150515.06', saldo='0', terminado='Si', ultimo_cambio='2024-11-29 13:25:19', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801a869c11efa91309954232'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801a869c11efa91309954232','2024-11-29 13:25:19','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 29/Nov/24 | |
| Fecha Terminado | 29/Nov/24 | |
| Inversión Reembolso | | |
| Intereses | 69.61 | |
| Monto Interés Real | 69.61 | |
| Monto Pagado | 150,515.06 | |
| Saldo | 0.00 | 150,515.06 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c68fb711efae87ab8170cb
[banco_cuenta_id] => 59
[monto_reembolsado] => 150515.06
[monto_global_reembolso] => 150584.67
[monto_isr] => 0
[monto_interes] => 69.610000000015
[monto_interes_real] => 69.610000000015
[fecha_deposito] => 2024-11-29 13:25:21
[fecha] => 2024-11-29 13:25:19
[alta_db] => 2024-11-29 13:25:19
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c68fb711efae87ab812a3f
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c68fb711efae87ab8183c7
[ref_num] => 3331
[deposit_fecha] => 2024-11-29 13:25:21
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '59' AND ((cash + deposit - withdrawal) = 150584.67) AND fecha between '2024-11-29 00:00:00' AND '2024-11-29 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c68fb711efae87ab812a3f
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+150584.67+0.00>=deposit OR 150584.67 = 0,'LT','LP')
, usado = usado + 150584.67
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:25:19'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:25:19'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '59' AND banco_cuenta_mov_id = '208810db20c68fb711efae87ab812a3f'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae87ab8183c7', '208810db20c68fb711efae87ab812a3f', 'inversion_reembolso', '208810db20c68fb711efae87ab8170cb', '', 'sistema', '2024-11-29 13:25:19')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+348463.94+0.00>=deposit OR 348463.94 = 0,'LT','LP')
, usado = usado + 348463.94
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:01'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:01'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = '208810db20c68fb711efae8877307c04'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae887730da7c', '208810db20c68fb711efae8877307c04', 'inversion_reembolso', '208810db20c68fb711efae887730c500', '', 'sistema', '2024-11-29 13:31:01')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c68fb711efae887730c500','49','348302.88','348463.94','0','161.06','161.06','2024-11-29 13:31:13','2024-11-29 13:31:01','2024-11-29 13:31:01','sistema','9','208810db20c68fb711efae8877307c04','208810db20c68fb711efae887730da7c','3332','cc483a12801a869c11efa91226dbb5d5')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-11-29 13:31:13', fecha_terminado='2024-11-29 13:31:01', inversion_reembolso_id='208810db20c68fb711efae887730c500', monto_interes='161.06', monto_interes_real='161.06', monto_reembolsado='348302.88', saldo='0', terminado='Si', ultimo_cambio='2024-11-29 13:31:01', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801a869c11efa91226dbb5d5'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801a869c11efa91226dbb5d5','2024-11-29 13:31:01','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 29/Nov/24 | |
| Fecha Terminado | 29/Nov/24 | |
| Inversión Reembolso | | |
| Intereses | 161.06 | |
| Monto Interés Real | 161.06 | |
| Monto Pagado | 348,302.88 | |
| Saldo | 0.00 | 348,302.88 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c68fb711efae887730c500
[banco_cuenta_id] => 49
[monto_reembolsado] => 348302.88
[monto_global_reembolso] => 348463.94
[monto_isr] => 0
[monto_interes] => 161.06
[monto_interes_real] => 161.06
[fecha_deposito] => 2024-11-29 13:31:13
[fecha] => 2024-11-29 13:31:01
[alta_db] => 2024-11-29 13:31:01
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c68fb711efae8877307c04
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c68fb711efae887730da7c
[ref_num] => 3332
[deposit_fecha] => 2024-11-29 13:31:13
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '49' AND ((cash + deposit - withdrawal) = 348463.94) AND fecha between '2024-11-29 00:00:00' AND '2024-11-29 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c68fb711efae8877307c04
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+348463.94+0.00>=deposit OR 348463.94 = 0,'LT','LP')
, usado = usado + 348463.94
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:01'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:01'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = '208810db20c68fb711efae8877307c04'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae887730da7c', '208810db20c68fb711efae8877307c04', 'inversion_reembolso', '208810db20c68fb711efae887730c500', '', 'sistema', '2024-11-29 13:31:01')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+257407.31+0.00>=deposit OR 257407.31 = 0,'LT','LP')
, usado = usado + 257407.31
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:01'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:01'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '57' AND banco_cuenta_mov_id = '208810db20c68fb711efae88773c7cce'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae88773ce60e', '208810db20c68fb711efae88773c7cce', 'inversion_reembolso', '208810db20c68fb711efae88773cd367', '', 'sistema', '2024-11-29 13:31:01')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c68fb711efae88773cd367','57','257288.33','257407.31','0','118.98000000001','118.98000000001','2024-11-29 13:31:18','2024-11-29 13:31:01','2024-11-29 13:31:01','sistema','15','208810db20c68fb711efae88773c7cce','208810db20c68fb711efae88773ce60e','3333','cc483a12801a869c11efa91226b2995f')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-11-29 13:31:18', fecha_terminado='2024-11-29 13:31:01', inversion_reembolso_id='208810db20c68fb711efae88773cd367', monto_interes='118.98000000001', monto_interes_real='118.98000000001', monto_reembolsado='257288.33', saldo='0', terminado='Si', ultimo_cambio='2024-11-29 13:31:01', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801a869c11efa91226b2995f'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801a869c11efa91226b2995f','2024-11-29 13:31:01','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 29/Nov/24 | |
| Fecha Terminado | 29/Nov/24 | |
| Inversión Reembolso | | |
| Intereses | 118.98 | |
| Monto Interés Real | 118.98 | |
| Monto Pagado | 257,288.33 | |
| Saldo | 0.00 | 257,288.33 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c68fb711efae88773cd367
[banco_cuenta_id] => 57
[monto_reembolsado] => 257288.33
[monto_global_reembolso] => 257407.31
[monto_isr] => 0
[monto_interes] => 118.98000000001
[monto_interes_real] => 118.98000000001
[fecha_deposito] => 2024-11-29 13:31:18
[fecha] => 2024-11-29 13:31:01
[alta_db] => 2024-11-29 13:31:01
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c68fb711efae88773c7cce
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c68fb711efae88773ce60e
[ref_num] => 3333
[deposit_fecha] => 2024-11-29 13:31:18
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '57' AND ((cash + deposit - withdrawal) = 257407.31) AND fecha between '2024-11-29 00:00:00' AND '2024-11-29 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c68fb711efae88773c7cce
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+257407.31+0.00>=deposit OR 257407.31 = 0,'LT','LP')
, usado = usado + 257407.31
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:01'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:01'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '57' AND banco_cuenta_mov_id = '208810db20c68fb711efae88773c7cce'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae88773ce60e', '208810db20c68fb711efae88773c7cce', 'inversion_reembolso', '208810db20c68fb711efae88773cd367', '', 'sistema', '2024-11-29 13:31:01')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+34880.45+0.00>=deposit OR 34880.45 = 0,'LT','LP')
, usado = usado + 34880.45
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:01'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:01'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '53' AND banco_cuenta_mov_id = '208810db20c68fb711efae8877480a93'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae88774870da', '208810db20c68fb711efae8877480a93', 'inversion_reembolso', '208810db20c68fb711efae8877485239', '', 'sistema', '2024-11-29 13:31:01')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c68fb711efae8877485239','53','34864.32','34880.45','0','16.129999999997','16.129999999997','2024-11-29 13:31:18','2024-11-29 13:31:01','2024-11-29 13:31:01','sistema','1','208810db20c68fb711efae8877480a93','208810db20c68fb711efae88774870da','3334','cc483a12801a869c11efa91227f5c477')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-11-29 13:31:18', fecha_terminado='2024-11-29 13:31:01', inversion_reembolso_id='208810db20c68fb711efae8877485239', monto_interes='16.129999999997', monto_interes_real='16.129999999997', monto_reembolsado='34864.32', saldo='0', terminado='Si', ultimo_cambio='2024-11-29 13:31:01', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801a869c11efa91227f5c477'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801a869c11efa91227f5c477','2024-11-29 13:31:01','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 29/Nov/24 | |
| Fecha Terminado | 29/Nov/24 | |
| Inversión Reembolso | | |
| Intereses | 16.13 | |
| Monto Interés Real | 16.13 | |
| Monto Pagado | 34,864.32 | |
| Saldo | 0.00 | 34,864.32 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c68fb711efae8877485239
[banco_cuenta_id] => 53
[monto_reembolsado] => 34864.32
[monto_global_reembolso] => 34880.45
[monto_isr] => 0
[monto_interes] => 16.129999999997
[monto_interes_real] => 16.129999999997
[fecha_deposito] => 2024-11-29 13:31:18
[fecha] => 2024-11-29 13:31:01
[alta_db] => 2024-11-29 13:31:01
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c68fb711efae8877480a93
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c68fb711efae88774870da
[ref_num] => 3334
[deposit_fecha] => 2024-11-29 13:31:18
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '53' AND ((cash + deposit - withdrawal) = 34880.45) AND fecha between '2024-11-29 00:00:00' AND '2024-11-29 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c68fb711efae8877480a93
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+34880.45+0.00>=deposit OR 34880.45 = 0,'LT','LP')
, usado = usado + 34880.45
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:01'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:01'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '53' AND banco_cuenta_mov_id = '208810db20c68fb711efae8877480a93'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae88774870da', '208810db20c68fb711efae8877480a93', 'inversion_reembolso', '208810db20c68fb711efae8877485239', '', 'sistema', '2024-11-29 13:31:01')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+217999.84+0.00>=deposit OR 217999.84 = 0,'LT','LP')
, usado = usado + 217999.84
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:02'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:02'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '61' AND banco_cuenta_mov_id = '208810db20c68fb711efae8878264de7'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae887826a88e', '208810db20c68fb711efae8878264de7', 'inversion_reembolso', '208810db20c68fb711efae887826959e', '', 'sistema', '2024-11-29 13:31:02')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c68fb711efae887826959e','61','217899.08','217999.84','0','100.76000000001','100.76000000001','2024-11-29 13:31:16','2024-11-29 13:31:02','2024-11-29 13:31:02','sistema','18','208810db20c68fb711efae8878264de7','208810db20c68fb711efae887826a88e','3336','cc483a12801a869c11efa91228e40a36')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-11-29 13:31:16', fecha_terminado='2024-11-29 13:31:02', inversion_reembolso_id='208810db20c68fb711efae887826959e', monto_interes='100.76000000001', monto_interes_real='100.76000000001', monto_reembolsado='217899.08', saldo='0', terminado='Si', ultimo_cambio='2024-11-29 13:31:02', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801a869c11efa91228e40a36'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801a869c11efa91228e40a36','2024-11-29 13:31:02','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 29/Nov/24 | |
| Fecha Terminado | 29/Nov/24 | |
| Inversión Reembolso | | |
| Intereses | 100.76 | |
| Monto Interés Real | 100.76 | |
| Monto Pagado | 217,899.08 | |
| Saldo | 0.00 | 217,899.08 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c68fb711efae887826959e
[banco_cuenta_id] => 61
[monto_reembolsado] => 217899.08
[monto_global_reembolso] => 217999.84
[monto_isr] => 0
[monto_interes] => 100.76000000001
[monto_interes_real] => 100.76000000001
[fecha_deposito] => 2024-11-29 13:31:16
[fecha] => 2024-11-29 13:31:02
[alta_db] => 2024-11-29 13:31:02
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c68fb711efae8878264de7
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c68fb711efae887826a88e
[ref_num] => 3336
[deposit_fecha] => 2024-11-29 13:31:16
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '61' AND ((cash + deposit - withdrawal) = 217999.84) AND fecha between '2024-11-29 00:00:00' AND '2024-11-29 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c68fb711efae8878264de7
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+217999.84+0.00>=deposit OR 217999.84 = 0,'LT','LP')
, usado = usado + 217999.84
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:02'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:02'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '61' AND banco_cuenta_mov_id = '208810db20c68fb711efae8878264de7'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae887826a88e', '208810db20c68fb711efae8878264de7', 'inversion_reembolso', '208810db20c68fb711efae887826959e', '', 'sistema', '2024-11-29 13:31:02')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+1036703.48+0.00>=deposit OR 1036703.48 = 0,'LT','LP')
, usado = usado + 1036703.48
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:02'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:02'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '55' AND banco_cuenta_mov_id = '208810db20c68fb711efae8878528cb5'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae887852d8b3', '208810db20c68fb711efae8878528cb5', 'inversion_reembolso', '208810db20c68fb711efae887852bfe1', '', 'sistema', '2024-11-29 13:31:02')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c68fb711efae887852bfe1','55','1036220.27','1036703.48','0','483.20999999996','483.20999999996','2024-11-29 13:31:25','2024-11-29 13:31:02','2024-11-29 13:31:02','sistema','3','208810db20c68fb711efae8878528cb5','208810db20c68fb711efae887852d8b3','3337','cc483a12801a869c11efa91227bb9e49')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-11-29 13:31:25', fecha_terminado='2024-11-29 13:31:02', inversion_reembolso_id='208810db20c68fb711efae887852bfe1', monto_interes='483.20999999996', monto_interes_real='483.20999999996', monto_reembolsado='1036220.27', saldo='0', terminado='Si', ultimo_cambio='2024-11-29 13:31:02', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801a869c11efa91227bb9e49'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801a869c11efa91227bb9e49','2024-11-29 13:31:02','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 29/Nov/24 | |
| Fecha Terminado | 29/Nov/24 | |
| Inversión Reembolso | | |
| Intereses | 483.21 | |
| Monto Interés Real | 483.21 | |
| Monto Pagado | 1,036,220.27 | |
| Saldo | 0.00 | 1,036,220.27 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c68fb711efae887852bfe1
[banco_cuenta_id] => 55
[monto_reembolsado] => 1036220.27
[monto_global_reembolso] => 1036703.48
[monto_isr] => 0
[monto_interes] => 483.20999999996
[monto_interes_real] => 483.20999999996
[fecha_deposito] => 2024-11-29 13:31:25
[fecha] => 2024-11-29 13:31:02
[alta_db] => 2024-11-29 13:31:02
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c68fb711efae8878528cb5
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c68fb711efae887852d8b3
[ref_num] => 3337
[deposit_fecha] => 2024-11-29 13:31:25
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '55' AND ((cash + deposit - withdrawal) = 1036703.48) AND fecha between '2024-11-29 00:00:00' AND '2024-11-29 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c68fb711efae8878528cb5
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+1036703.48+0.00>=deposit OR 1036703.48 = 0,'LT','LP')
, usado = usado + 1036703.48
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:02'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:02'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '55' AND banco_cuenta_mov_id = '208810db20c68fb711efae8878528cb5'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae887852d8b3', '208810db20c68fb711efae8878528cb5', 'inversion_reembolso', '208810db20c68fb711efae887852bfe1', '', 'sistema', '2024-11-29 13:31:02')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+876379.69+0.00>=deposit OR 876379.69 = 0,'LT','LP')
, usado = usado + 876379.69
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:04'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:04'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = '208810db20c68fb711efae88793a7fa9'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae88793ad4e9', '208810db20c68fb711efae88793a7fa9', 'inversion_reembolso', '208810db20c68fb711efae88793ac0b6', '', 'sistema', '2024-11-29 13:31:04')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c68fb711efae88793ac0b6','51','875972.92','876379.69','0','406.7699999999','406.7699999999','2024-11-29 13:31:19','2024-11-29 13:31:04','2024-11-29 13:31:04','sistema','5','208810db20c68fb711efae88793a7fa9','208810db20c68fb711efae88793ad4e9','3339','cc483a12801a869c11efa9122905b5b5')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-11-29 13:31:19', fecha_terminado='2024-11-29 13:31:04', inversion_reembolso_id='208810db20c68fb711efae88793ac0b6', monto_interes='406.7699999999', monto_interes_real='406.7699999999', monto_reembolsado='875972.92', saldo='0', terminado='Si', ultimo_cambio='2024-11-29 13:31:04', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801a869c11efa9122905b5b5'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801a869c11efa9122905b5b5','2024-11-29 13:31:04','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 29/Nov/24 | |
| Fecha Terminado | 29/Nov/24 | |
| Inversión Reembolso | | |
| Intereses | 406.77 | |
| Monto Interés Real | 406.77 | |
| Monto Pagado | 875,972.92 | |
| Saldo | 0.00 | 875,972.92 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c68fb711efae88793ac0b6
[banco_cuenta_id] => 51
[monto_reembolsado] => 875972.92
[monto_global_reembolso] => 876379.69
[monto_isr] => 0
[monto_interes] => 406.7699999999
[monto_interes_real] => 406.7699999999
[fecha_deposito] => 2024-11-29 13:31:19
[fecha] => 2024-11-29 13:31:04
[alta_db] => 2024-11-29 13:31:04
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c68fb711efae88793a7fa9
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c68fb711efae88793ad4e9
[ref_num] => 3339
[deposit_fecha] => 2024-11-29 13:31:19
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '51' AND ((cash + deposit - withdrawal) = 876379.69) AND fecha between '2024-11-29 00:00:00' AND '2024-11-29 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c68fb711efae88793a7fa9
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+876379.69+0.00>=deposit OR 876379.69 = 0,'LT','LP')
, usado = usado + 876379.69
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-11-29 13:31:04'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-11-29 13:31:04'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = '208810db20c68fb711efae88793a7fa9'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c68fb711efae88793ad4e9', '208810db20c68fb711efae88793a7fa9', 'inversion_reembolso', '208810db20c68fb711efae88793ac0b6', '', 'sistema', '2024-11-29 13:31:04')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+159658.47+0.00>=deposit OR 159658.47 = 0,'LT','LP')
, usado = usado + 159658.47
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-06 13:20:39'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-06 13:20:39'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '59' AND banco_cuenta_mov_id = 'cc483a12801a9b1b11efb4072d81d15a'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9b1b11efb4072d825e6c', 'cc483a12801a9b1b11efb4072d81d15a', 'inversion_reembolso', 'cc483a12801a9b1b11efb4072d8243ee', '', 'sistema', '2024-12-06 13:20:39')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801a9b1b11efb4072d8243ee','59','159584.67','159658.47','0','73.799999999988','73.799999999988','2024-12-06 13:20:44','2024-12-06 13:20:39','2024-12-06 13:20:39','sistema','17','cc483a12801a9b1b11efb4072d81d15a','cc483a12801a9b1b11efb4072d825e6c','34040','cc483a12801abcb711efaeac28c449af')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-06 13:20:44', fecha_terminado='2024-12-06 13:20:39', inversion_reembolso_id='cc483a12801a9b1b11efb4072d8243ee', monto_interes='73.799999999988', monto_interes_real='73.799999999988', monto_reembolsado='159584.67', saldo='0', terminado='Si', ultimo_cambio='2024-12-06 13:20:39', ultimo_cambio_por='nancy_gt' WHERE inversion_id='cc483a12801abcb711efaeac28c449af'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801abcb711efaeac28c449af','2024-12-06 13:20:39','nancy_gt','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 06/Dic/24 | |
| Fecha Terminado | 06/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 73.80 | |
| Monto Interés Real | 73.80 | |
| Monto Pagado | 159,584.67 | |
| Saldo | 0.00 | 159,584.67 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801a9b1b11efb4072d8243ee
[banco_cuenta_id] => 59
[monto_reembolsado] => 159584.67
[monto_global_reembolso] => 159658.47
[monto_isr] => 0
[monto_interes] => 73.799999999988
[monto_interes_real] => 73.799999999988
[fecha_deposito] => 2024-12-06 13:20:44
[fecha] => 2024-12-06 13:20:39
[alta_db] => 2024-12-06 13:20:39
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801a9b1b11efb4072d81d15a
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801a9b1b11efb4072d825e6c
[ref_num] => 34040
[deposit_fecha] => 2024-12-06 13:20:44
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '59' AND ((cash + deposit - withdrawal) = 159658.47) AND fecha between '2024-12-06 00:00:00' AND '2024-12-06 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801a9b1b11efb4072d81d15a
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+159658.47+0.00>=deposit OR 159658.47 = 0,'LT','LP')
, usado = usado + 159658.47
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-06 13:20:39'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-06 13:20:39'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '59' AND banco_cuenta_mov_id = 'cc483a12801a9b1b11efb4072d81d15a'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9b1b11efb4072d825e6c', 'cc483a12801a9b1b11efb4072d81d15a', 'inversion_reembolso', 'cc483a12801a9b1b11efb4072d8243ee', '', 'sistema', '2024-12-06 13:20:39')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+89888+0.00>=deposit OR 89888 = 0,'LT','LP')
, usado = usado + 89888
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-06 13:20:41'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-06 13:20:41'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '53' AND banco_cuenta_mov_id = 'cc483a12801a9b1b11efb4072eacb357'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9b1b11efb4072ead3c1d', 'cc483a12801a9b1b11efb4072eacb357', 'inversion_reembolso', 'cc483a12801a9b1b11efb4072ead2188', '', 'sistema', '2024-12-06 13:20:41')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801a9b1b11efb4072ead2188','53','89846.45','89888','0','41.550000000003','41.550000000003','2024-12-06 13:20:43','2024-12-06 13:20:41','2024-12-06 13:20:41','sistema','1','cc483a12801a9b1b11efb4072eacb357','cc483a12801a9b1b11efb4072ead3c1d','34041','cc483a12801abcb711efaeacdfc4d5d3')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-06 13:20:43', fecha_terminado='2024-12-06 13:20:41', inversion_reembolso_id='cc483a12801a9b1b11efb4072ead2188', monto_interes='41.550000000003', monto_interes_real='41.550000000003', monto_reembolsado='89846.45', saldo='0', terminado='Si', ultimo_cambio='2024-12-06 13:20:41', ultimo_cambio_por='nancy_gt' WHERE inversion_id='cc483a12801abcb711efaeacdfc4d5d3'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801abcb711efaeacdfc4d5d3','2024-12-06 13:20:41','nancy_gt','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 06/Dic/24 | |
| Fecha Terminado | 06/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 41.55 | |
| Monto Interés Real | 41.55 | |
| Monto Pagado | 89,846.45 | |
| Saldo | 0.00 | 89,846.45 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801a9b1b11efb4072ead2188
[banco_cuenta_id] => 53
[monto_reembolsado] => 89846.45
[monto_global_reembolso] => 89888
[monto_isr] => 0
[monto_interes] => 41.550000000003
[monto_interes_real] => 41.550000000003
[fecha_deposito] => 2024-12-06 13:20:43
[fecha] => 2024-12-06 13:20:41
[alta_db] => 2024-12-06 13:20:41
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801a9b1b11efb4072eacb357
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801a9b1b11efb4072ead3c1d
[ref_num] => 34041
[deposit_fecha] => 2024-12-06 13:20:43
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '53' AND ((cash + deposit - withdrawal) = 89888) AND fecha between '2024-12-06 00:00:00' AND '2024-12-06 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801a9b1b11efb4072eacb357
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+89888+0.00>=deposit OR 89888 = 0,'LT','LP')
, usado = usado + 89888
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-06 13:20:41'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-06 13:20:41'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '53' AND banco_cuenta_mov_id = 'cc483a12801a9b1b11efb4072eacb357'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9b1b11efb4072ead3c1d', 'cc483a12801a9b1b11efb4072eacb357', 'inversion_reembolso', 'cc483a12801a9b1b11efb4072ead2188', '', 'sistema', '2024-12-06 13:20:41')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+258526.81+0.00>=deposit OR 258526.81 = 0,'LT','LP')
, usado = usado + 258526.81
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-06 13:20:41'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-06 13:20:41'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '57' AND banco_cuenta_mov_id = 'cc483a12801a9b1b11efb4072eb010a7'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9b1b11efb4072eb096d1', 'cc483a12801a9b1b11efb4072eb010a7', 'inversion_reembolso', 'cc483a12801a9b1b11efb4072eb07b55', '', 'sistema', '2024-12-06 13:20:41')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801a9b1b11efb4072eb07b55','57','258407.31','258526.81','0','119.5','119.5','2024-12-06 13:20:43','2024-12-06 13:20:41','2024-12-06 13:20:41','sistema','15','cc483a12801a9b1b11efb4072eb010a7','cc483a12801a9b1b11efb4072eb096d1','34042','cc483a12801abcb711efaeaba18e9e4b')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-06 13:20:43', fecha_terminado='2024-12-06 13:20:41', inversion_reembolso_id='cc483a12801a9b1b11efb4072eb07b55', monto_interes='119.5', monto_interes_real='119.5', monto_reembolsado='258407.31', saldo='0', terminado='Si', ultimo_cambio='2024-12-06 13:20:41', ultimo_cambio_por='nancy_gt' WHERE inversion_id='cc483a12801abcb711efaeaba18e9e4b'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801abcb711efaeaba18e9e4b','2024-12-06 13:20:41','nancy_gt','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 06/Dic/24 | |
| Fecha Terminado | 06/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 119.50 | |
| Monto Interés Real | 119.50 | |
| Monto Pagado | 258,407.31 | |
| Saldo | 0.00 | 258,407.31 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801a9b1b11efb4072eb07b55
[banco_cuenta_id] => 57
[monto_reembolsado] => 258407.31
[monto_global_reembolso] => 258526.81
[monto_isr] => 0
[monto_interes] => 119.5
[monto_interes_real] => 119.5
[fecha_deposito] => 2024-12-06 13:20:43
[fecha] => 2024-12-06 13:20:41
[alta_db] => 2024-12-06 13:20:41
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801a9b1b11efb4072eb010a7
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801a9b1b11efb4072eb096d1
[ref_num] => 34042
[deposit_fecha] => 2024-12-06 13:20:43
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '57' AND ((cash + deposit - withdrawal) = 258526.81) AND fecha between '2024-12-06 00:00:00' AND '2024-12-06 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801a9b1b11efb4072eb010a7
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+258526.81+0.00>=deposit OR 258526.81 = 0,'LT','LP')
, usado = usado + 258526.81
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-06 13:20:41'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-06 13:20:41'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '57' AND banco_cuenta_mov_id = 'cc483a12801a9b1b11efb4072eb010a7'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9b1b11efb4072eb096d1', 'cc483a12801a9b1b11efb4072eb010a7', 'inversion_reembolso', 'cc483a12801a9b1b11efb4072eb07b55', '', 'sistema', '2024-12-06 13:20:41')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+218100.65+0.00>=deposit OR 218100.65 = 0,'LT','LP')
, usado = usado + 218100.65
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-09 12:36:55'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-09 12:36:55'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '61' AND banco_cuenta_mov_id = 'cc483a12801aae6f11efb65c908e5b06'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801aae6f11efb65c908eea07', 'cc483a12801aae6f11efb65c908e5b06', 'inversion_reembolso', 'cc483a12801aae6f11efb65c908ed004', '', 'sistema', '2024-12-09 12:36:55')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801aae6f11efb65c908ed004','61','217999.84','218100.65','0','100.81','100.81','2024-12-06 12:36:57','2024-12-09 12:36:55','2024-12-09 12:36:55','sistema','18','cc483a12801aae6f11efb65c908e5b06','cc483a12801aae6f11efb65c908eea07','34323','cc483a12801abcb711efaeace1bb70c6')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-06 12:36:57', fecha_terminado='2024-12-09 12:36:55', inversion_reembolso_id='cc483a12801aae6f11efb65c908ed004', monto_interes='100.81', monto_interes_real='100.81', monto_reembolsado='217999.84', saldo='0', terminado='Si', ultimo_cambio='2024-12-09 12:36:55', ultimo_cambio_por='magda_al' WHERE inversion_id='cc483a12801abcb711efaeace1bb70c6'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801abcb711efaeace1bb70c6','2024-12-09 12:36:55','magda_al','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 06/Dic/24 | |
| Fecha Terminado | 09/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 100.81 | |
| Monto Interés Real | 100.81 | |
| Monto Pagado | 217,999.84 | |
| Saldo | 0.00 | 217,999.84 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801aae6f11efb65c908ed004
[banco_cuenta_id] => 61
[monto_reembolsado] => 217999.84
[monto_global_reembolso] => 218100.65
[monto_isr] => 0
[monto_interes] => 100.81
[monto_interes_real] => 100.81
[fecha_deposito] => 2024-12-06 12:36:57
[fecha] => 2024-12-09 12:36:55
[alta_db] => 2024-12-09 12:36:55
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801aae6f11efb65c908e5b06
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801aae6f11efb65c908eea07
[ref_num] => 34323
[deposit_fecha] => 2024-12-06 12:36:57
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '61' AND ((cash + deposit - withdrawal) = 218100.65) AND fecha between '2024-12-06 00:00:00' AND '2024-12-06 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801aae6f11efb65c908e5b06
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+218100.65+0.00>=deposit OR 218100.65 = 0,'LT','LP')
, usado = usado + 218100.65
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-09 12:36:55'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-09 12:36:55'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '61' AND banco_cuenta_mov_id = 'cc483a12801aae6f11efb65c908e5b06'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801aae6f11efb65c908eea07', 'cc483a12801aae6f11efb65c908e5b06', 'inversion_reembolso', 'cc483a12801aae6f11efb65c908ed004', '', 'sistema', '2024-12-09 12:36:55')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+391338.71+0.00>=deposit OR 391338.71 = 0,'LT','LP')
, usado = usado + 391338.71
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-09 12:36:55'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-09 12:36:55'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = 'cc483a12801aae6f11efb65c908e7377'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801aae6f11efb65c908ef893', 'cc483a12801aae6f11efb65c908e7377', 'inversion_reembolso', 'cc483a12801aae6f11efb65c908edf2c', '', 'sistema', '2024-12-09 12:36:55')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801aae6f11efb65c908edf2c','49','391157.83','391338.71','0','180.88','180.88','2024-12-06 12:36:57','2024-12-09 12:36:55','2024-12-09 12:36:55','sistema','9','cc483a12801aae6f11efb65c908e7377','cc483a12801aae6f11efb65c908ef893','34324','cc483a12801abcb711efae8730421803')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-06 12:36:57', fecha_terminado='2024-12-09 12:36:55', inversion_reembolso_id='cc483a12801aae6f11efb65c908edf2c', monto_interes='180.88', monto_interes_real='180.88', monto_reembolsado='391157.83', saldo='0', terminado='Si', ultimo_cambio='2024-12-09 12:36:55', ultimo_cambio_por='magda_al' WHERE inversion_id='cc483a12801abcb711efae8730421803'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801abcb711efae8730421803','2024-12-09 12:36:55','magda_al','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 06/Dic/24 | |
| Fecha Terminado | 09/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 180.88 | |
| Monto Interés Real | 180.88 | |
| Monto Pagado | 391,157.83 | |
| Saldo | 0.00 | 391,157.83 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801aae6f11efb65c908edf2c
[banco_cuenta_id] => 49
[monto_reembolsado] => 391157.83
[monto_global_reembolso] => 391338.71
[monto_isr] => 0
[monto_interes] => 180.88
[monto_interes_real] => 180.88
[fecha_deposito] => 2024-12-06 12:36:57
[fecha] => 2024-12-09 12:36:55
[alta_db] => 2024-12-09 12:36:55
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801aae6f11efb65c908e7377
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801aae6f11efb65c908ef893
[ref_num] => 34324
[deposit_fecha] => 2024-12-06 12:36:57
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '49' AND ((cash + deposit - withdrawal) = 391338.71) AND fecha between '2024-12-06 00:00:00' AND '2024-12-06 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801aae6f11efb65c908e7377
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+391338.71+0.00>=deposit OR 391338.71 = 0,'LT','LP')
, usado = usado + 391338.71
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-09 12:36:55'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-09 12:36:55'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = 'cc483a12801aae6f11efb65c908e7377'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801aae6f11efb65c908ef893', 'cc483a12801aae6f11efb65c908e7377', 'inversion_reembolso', 'cc483a12801aae6f11efb65c908edf2c', '', 'sistema', '2024-12-09 12:36:55')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+1178095.99+0.00>=deposit OR 1178095.99 = 0,'LT','LP')
, usado = usado + 1178095.99
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-09 12:45:10'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-09 12:45:10'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '55' AND banco_cuenta_mov_id = 'cc483a12801aae6f11efb65db7ae344e'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801aae6f11efb65db7af43ef', 'cc483a12801aae6f11efb65db7ae344e', 'inversion_reembolso', 'cc483a12801aae6f11efb65db7aeb11d', '', 'sistema', '2024-12-09 12:45:10')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801aae6f11efb65db7aeb11d','55','1177546.88','1178095.99','0','549.1100000001','549.1100000001','2024-12-06 12:45:13','2024-12-09 12:45:10','2024-12-09 12:45:10','sistema','3','cc483a12801aae6f11efb65db7ae344e','cc483a12801aae6f11efb65db7af43ef','34327','cc483a12801abcb711efaeace0df7e6f')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-06 12:45:13', fecha_terminado='2024-12-09 12:45:10', inversion_reembolso_id='cc483a12801aae6f11efb65db7aeb11d', monto_interes='549.1100000001', monto_interes_real='549.1100000001', monto_reembolsado='1177546.88', saldo='0', terminado='Si', ultimo_cambio='2024-12-09 12:45:10', ultimo_cambio_por='magda_al' WHERE inversion_id='cc483a12801abcb711efaeace0df7e6f'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801abcb711efaeace0df7e6f','2024-12-09 12:45:10','magda_al','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 06/Dic/24 | |
| Fecha Terminado | 09/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 549.11 | |
| Monto Interés Real | 549.11 | |
| Monto Pagado | 1,177,546.88 | |
| Saldo | 0.00 | 1,177,546.88 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801aae6f11efb65db7aeb11d
[banco_cuenta_id] => 55
[monto_reembolsado] => 1177546.88
[monto_global_reembolso] => 1178095.99
[monto_isr] => 0
[monto_interes] => 549.1100000001
[monto_interes_real] => 549.1100000001
[fecha_deposito] => 2024-12-06 12:45:13
[fecha] => 2024-12-09 12:45:10
[alta_db] => 2024-12-09 12:45:10
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801aae6f11efb65db7ae344e
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801aae6f11efb65db7af43ef
[ref_num] => 34327
[deposit_fecha] => 2024-12-06 12:45:13
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '55' AND ((cash + deposit - withdrawal) = 1178095.99) AND fecha between '2024-12-06 00:00:00' AND '2024-12-06 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801aae6f11efb65db7ae344e
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+1178095.99+0.00>=deposit OR 1178095.99 = 0,'LT','LP')
, usado = usado + 1178095.99
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-09 12:45:10'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-09 12:45:10'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '55' AND banco_cuenta_mov_id = 'cc483a12801aae6f11efb65db7ae344e'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801aae6f11efb65db7af43ef', 'cc483a12801aae6f11efb65db7ae344e', 'inversion_reembolso', 'cc483a12801aae6f11efb65db7aeb11d', '', 'sistema', '2024-12-09 12:45:10')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+877787.12+0.00>=deposit OR 877787.12 = 0,'LT','LP')
, usado = usado + 877787.12
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-09 12:45:11'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-09 12:45:11'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = 'cc483a12801aae6f11efb65db890011b'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801aae6f11efb65db8909abb', 'cc483a12801aae6f11efb65db890011b', 'inversion_reembolso', 'cc483a12801aae6f11efb65db8907fcf', '', 'sistema', '2024-12-09 12:45:11')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801aae6f11efb65db8907fcf','51','877379.69','877787.12','0','407.43000000005','407.43000000005','2024-12-06 12:45:13','2024-12-09 12:45:11','2024-12-09 12:45:11','sistema','5','cc483a12801aae6f11efb65db890011b','cc483a12801aae6f11efb65db8909abb','34328','cc483a12801abcb711efaeacdfe844bf')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-06 12:45:13', fecha_terminado='2024-12-09 12:45:11', inversion_reembolso_id='cc483a12801aae6f11efb65db8907fcf', monto_interes='407.43000000005', monto_interes_real='407.43000000005', monto_reembolsado='877379.69', saldo='0', terminado='Si', ultimo_cambio='2024-12-09 12:45:11', ultimo_cambio_por='magda_al' WHERE inversion_id='cc483a12801abcb711efaeacdfe844bf'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801abcb711efaeacdfe844bf','2024-12-09 12:45:11','magda_al','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 06/Dic/24 | |
| Fecha Terminado | 09/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 407.43 | |
| Monto Interés Real | 407.43 | |
| Monto Pagado | 877,379.69 | |
| Saldo | 0.00 | 877,379.69 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801aae6f11efb65db8907fcf
[banco_cuenta_id] => 51
[monto_reembolsado] => 877379.69
[monto_global_reembolso] => 877787.12
[monto_isr] => 0
[monto_interes] => 407.43000000005
[monto_interes_real] => 407.43000000005
[fecha_deposito] => 2024-12-06 12:45:13
[fecha] => 2024-12-09 12:45:11
[alta_db] => 2024-12-09 12:45:11
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801aae6f11efb65db890011b
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801aae6f11efb65db8909abb
[ref_num] => 34328
[deposit_fecha] => 2024-12-06 12:45:13
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '51' AND ((cash + deposit - withdrawal) = 877787.12) AND fecha between '2024-12-06 00:00:00' AND '2024-12-06 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801aae6f11efb65db890011b
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+877787.12+0.00>=deposit OR 877787.12 = 0,'LT','LP')
, usado = usado + 877787.12
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-09 12:45:11'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-09 12:45:11'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = 'cc483a12801aae6f11efb65db890011b'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801aae6f11efb65db8909abb', 'cc483a12801aae6f11efb65db890011b', 'inversion_reembolso', 'cc483a12801aae6f11efb65db8907fcf', '', 'sistema', '2024-12-09 12:45:11')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+165924.03+0.00>=deposit OR 165924.03 = 0,'LT','LP')
, usado = usado + 165924.03
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-13 13:02:51'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-13 13:02:51'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '57' AND banco_cuenta_mov_id = 'cc483a12801abe6b11efb984d9b3131d'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801abe6b11efb984d9b37ca9', 'cc483a12801abe6b11efb984d9b3131d', 'inversion_reembolso', 'cc483a12801abe6b11efb984d9b360bd', '', 'sistema', '2024-12-13 13:02:51')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801abe6b11efb984d9b360bd','57','165847.34','165924.03','0','76.690000000002','76.690000000002','2024-12-13 13:02:56','2024-12-13 13:02:51','2024-12-13 13:02:51','sistema','15','cc483a12801abe6b11efb984d9b3131d','cc483a12801abe6b11efb984d9b37ca9','34739','cc483a12801aae6f11efb65db88d7c4f')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-13 13:02:56', fecha_terminado='2024-12-13 13:02:51', inversion_reembolso_id='cc483a12801abe6b11efb984d9b360bd', monto_interes='76.690000000002', monto_interes_real='76.690000000002', monto_reembolsado='165847.34', saldo='0', terminado='Si', ultimo_cambio='2024-12-13 13:02:51', ultimo_cambio_por='magda_al' WHERE inversion_id='cc483a12801aae6f11efb65db88d7c4f'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801aae6f11efb65db88d7c4f','2024-12-13 13:02:51','magda_al','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 13/Dic/24 | |
| Fecha Terminado | 13/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 76.69 | |
| Monto Interés Real | 76.69 | |
| Monto Pagado | 165,847.34 | |
| Saldo | 0.00 | 165,847.34 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801abe6b11efb984d9b360bd
[banco_cuenta_id] => 57
[monto_reembolsado] => 165847.34
[monto_global_reembolso] => 165924.03
[monto_isr] => 0
[monto_interes] => 76.690000000002
[monto_interes_real] => 76.690000000002
[fecha_deposito] => 2024-12-13 13:02:56
[fecha] => 2024-12-13 13:02:51
[alta_db] => 2024-12-13 13:02:51
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801abe6b11efb984d9b3131d
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801abe6b11efb984d9b37ca9
[ref_num] => 34739
[deposit_fecha] => 2024-12-13 13:02:56
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '57' AND ((cash + deposit - withdrawal) = 165924.03) AND fecha between '2024-12-13 00:00:00' AND '2024-12-13 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801abe6b11efb984d9b3131d
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+165924.03+0.00>=deposit OR 165924.03 = 0,'LT','LP')
, usado = usado + 165924.03
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-13 13:02:51'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-13 13:02:51'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '57' AND banco_cuenta_mov_id = 'cc483a12801abe6b11efb984d9b3131d'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801abe6b11efb984d9b37ca9', 'cc483a12801abe6b11efb984d9b3131d', 'inversion_reembolso', 'cc483a12801abe6b11efb984d9b360bd', '', 'sistema', '2024-12-13 13:02:51')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+1206882.64+0.00>=deposit OR 1206882.64 = 0,'LT','LP')
, usado = usado + 1206882.64
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-13 13:12:22'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-13 13:12:22'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '55' AND banco_cuenta_mov_id = 'cc483a12801abe6b11efb9862e2cb200'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801abe6b11efb9862e2d190a', 'cc483a12801abe6b11efb9862e2cb200', 'inversion_reembolso', 'cc483a12801abe6b11efb9862e2cfce6', '', 'sistema', '2024-12-13 13:12:22')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801abe6b11efb9862e2cfce6','55','1206320.12','1206882.64','0','562.51999999979','562.51999999979','2024-12-13 13:12:27','2024-12-13 13:12:22','2024-12-13 13:12:22','sistema','3','cc483a12801abe6b11efb9862e2cb200','cc483a12801abe6b11efb9862e2d190a','34750','cc483a12801aae6f11efb65db7c2e490')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-13 13:12:27', fecha_terminado='2024-12-13 13:12:22', inversion_reembolso_id='cc483a12801abe6b11efb9862e2cfce6', monto_interes='562.51999999979', monto_interes_real='562.51999999979', monto_reembolsado='1206320.12', saldo='0', terminado='Si', ultimo_cambio='2024-12-13 13:12:22', ultimo_cambio_por='nancy_gt' WHERE inversion_id='cc483a12801aae6f11efb65db7c2e490'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801aae6f11efb65db7c2e490','2024-12-13 13:12:22','nancy_gt','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 13/Dic/24 | |
| Fecha Terminado | 13/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 562.52 | |
| Monto Interés Real | 562.52 | |
| Monto Pagado | 1,206,320.12 | |
| Saldo | 0.00 | 1,206,320.12 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801abe6b11efb9862e2cfce6
[banco_cuenta_id] => 55
[monto_reembolsado] => 1206320.12
[monto_global_reembolso] => 1206882.64
[monto_isr] => 0
[monto_interes] => 562.51999999979
[monto_interes_real] => 562.51999999979
[fecha_deposito] => 2024-12-13 13:12:27
[fecha] => 2024-12-13 13:12:22
[alta_db] => 2024-12-13 13:12:22
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801abe6b11efb9862e2cb200
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801abe6b11efb9862e2d190a
[ref_num] => 34750
[deposit_fecha] => 2024-12-13 13:12:27
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '55' AND ((cash + deposit - withdrawal) = 1206882.64) AND fecha between '2024-12-13 00:00:00' AND '2024-12-13 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801abe6b11efb9862e2cb200
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+1206882.64+0.00>=deposit OR 1206882.64 = 0,'LT','LP')
, usado = usado + 1206882.64
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-13 13:12:22'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-13 13:12:22'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '55' AND banco_cuenta_mov_id = 'cc483a12801abe6b11efb9862e2cb200'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801abe6b11efb9862e2d190a', 'cc483a12801abe6b11efb9862e2cb200', 'inversion_reembolso', 'cc483a12801abe6b11efb9862e2cfce6', '', 'sistema', '2024-12-13 13:12:22')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+218201.5+0.00>=deposit OR 218201.5 = 0,'LT','LP')
, usado = usado + 218201.5
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-13 13:16:26'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-13 13:16:26'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '61' AND banco_cuenta_mov_id = 'cc483a12801abe6b11efb986bfbe0a3e'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801abe6b11efb986bfbe9242', 'cc483a12801abe6b11efb986bfbe0a3e', 'inversion_reembolso', 'cc483a12801abe6b11efb986bfbe76ba', '', 'sistema', '2024-12-13 13:16:26')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801abe6b11efb986bfbe76ba','61','218100.65','218201.5','0','100.85000000001','100.85000000001','2024-12-13 13:16:30','2024-12-13 13:16:26','2024-12-13 13:16:26','sistema','18','cc483a12801abe6b11efb986bfbe0a3e','cc483a12801abe6b11efb986bfbe9242','34752','cc483a12801aae6f11efb65c90ae1e21')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-13 13:16:30', fecha_terminado='2024-12-13 13:16:26', inversion_reembolso_id='cc483a12801abe6b11efb986bfbe76ba', monto_interes='100.85000000001', monto_interes_real='100.85000000001', monto_reembolsado='218100.65', saldo='0', terminado='Si', ultimo_cambio='2024-12-13 13:16:26', ultimo_cambio_por='nancy_gt' WHERE inversion_id='cc483a12801aae6f11efb65c90ae1e21'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801aae6f11efb65c90ae1e21','2024-12-13 13:16:26','nancy_gt','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 13/Dic/24 | |
| Fecha Terminado | 13/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 100.85 | |
| Monto Interés Real | 100.85 | |
| Monto Pagado | 218,100.65 | |
| Saldo | 0.00 | 218,100.65 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801abe6b11efb986bfbe76ba
[banco_cuenta_id] => 61
[monto_reembolsado] => 218100.65
[monto_global_reembolso] => 218201.5
[monto_isr] => 0
[monto_interes] => 100.85000000001
[monto_interes_real] => 100.85000000001
[fecha_deposito] => 2024-12-13 13:16:30
[fecha] => 2024-12-13 13:16:26
[alta_db] => 2024-12-13 13:16:26
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801abe6b11efb986bfbe0a3e
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801abe6b11efb986bfbe9242
[ref_num] => 34752
[deposit_fecha] => 2024-12-13 13:16:30
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '61' AND ((cash + deposit - withdrawal) = 218201.5) AND fecha between '2024-12-13 00:00:00' AND '2024-12-13 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801abe6b11efb986bfbe0a3e
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+218201.5+0.00>=deposit OR 218201.5 = 0,'LT','LP')
, usado = usado + 218201.5
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-13 13:16:26'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-13 13:16:26'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '61' AND banco_cuenta_mov_id = 'cc483a12801abe6b11efb986bfbe0a3e'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801abe6b11efb986bfbe9242', 'cc483a12801abe6b11efb986bfbe0a3e', 'inversion_reembolso', 'cc483a12801abe6b11efb986bfbe76ba', '', 'sistema', '2024-12-13 13:16:26')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+63451+0.00>=deposit OR 63451 = 0,'LT','LP')
, usado = usado + 63451
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-13 13:25:50'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-13 13:25:50'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '59' AND banco_cuenta_mov_id = 'cc483a12801abe6b11efb98810038132'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801abe6b11efb98810041acc', 'cc483a12801abe6b11efb98810038132', 'inversion_reembolso', 'cc483a12801abe6b11efb9881003fcc6', '', 'sistema', '2024-12-13 13:25:50')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801abe6b11efb9881003fcc6','59','63421.67','63451','0','29.330000000002','29.330000000002','2024-12-13 13:25:58','2024-12-13 13:25:50','2024-12-13 13:25:50','sistema','17','cc483a12801abe6b11efb98810038132','cc483a12801abe6b11efb98810041acc','34753','cc483a12801aae6f11efb65db89c23a7')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-13 13:25:58', fecha_terminado='2024-12-13 13:25:50', inversion_reembolso_id='cc483a12801abe6b11efb9881003fcc6', monto_interes='29.330000000002', monto_interes_real='29.330000000002', monto_reembolsado='63421.67', saldo='0', terminado='Si', ultimo_cambio='2024-12-13 13:25:50', ultimo_cambio_por='nancy_gt' WHERE inversion_id='cc483a12801aae6f11efb65db89c23a7'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801aae6f11efb65db89c23a7','2024-12-13 13:25:50','nancy_gt','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 13/Dic/24 | |
| Fecha Terminado | 13/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 29.33 | |
| Monto Interés Real | 29.33 | |
| Monto Pagado | 63,421.67 | |
| Saldo | 0.00 | 63,421.67 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801abe6b11efb9881003fcc6
[banco_cuenta_id] => 59
[monto_reembolsado] => 63421.67
[monto_global_reembolso] => 63451
[monto_isr] => 0
[monto_interes] => 29.330000000002
[monto_interes_real] => 29.330000000002
[fecha_deposito] => 2024-12-13 13:25:58
[fecha] => 2024-12-13 13:25:50
[alta_db] => 2024-12-13 13:25:50
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801abe6b11efb98810038132
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801abe6b11efb98810041acc
[ref_num] => 34753
[deposit_fecha] => 2024-12-13 13:25:58
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '59' AND ((cash + deposit - withdrawal) = 63451) AND fecha between '2024-12-13 00:00:00' AND '2024-12-13 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801abe6b11efb98810038132
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+63451+0.00>=deposit OR 63451 = 0,'LT','LP')
, usado = usado + 63451
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-13 13:25:50'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-13 13:25:50'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '59' AND banco_cuenta_mov_id = 'cc483a12801abe6b11efb98810038132'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801abe6b11efb98810041acc', 'cc483a12801abe6b11efb98810038132', 'inversion_reembolso', 'cc483a12801abe6b11efb9881003fcc6', '', 'sistema', '2024-12-13 13:25:50')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+391519.68+0.00>=deposit OR 391519.68 = 0,'LT','LP')
, usado = usado + 391519.68
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-14 09:26:55'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-14 09:26:55'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = 'cc483a12801a9f6411efba2fd9b769fe'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9f6411efba2fd9b815aa', 'cc483a12801a9f6411efba2fd9b769fe', 'inversion_reembolso', 'cc483a12801a9f6411efba2fd9b7f6a7', '', 'sistema', '2024-12-14 09:26:55')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801a9f6411efba2fd9b7f6a7','49','391338.71','391519.68','0','180.96999999997','180.96999999997','2024-12-13 09:26:57','2024-12-14 09:26:55','2024-12-14 09:26:55','sistema','9','cc483a12801a9f6411efba2fd9b769fe','cc483a12801a9f6411efba2fd9b815aa','3481','cc483a12801aae6f11efb65c90ae19a7')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-13 09:26:57', fecha_terminado='2024-12-14 09:26:55', inversion_reembolso_id='cc483a12801a9f6411efba2fd9b7f6a7', monto_interes='180.96999999997', monto_interes_real='180.96999999997', monto_reembolsado='391338.71', saldo='0', terminado='Si', ultimo_cambio='2024-12-14 09:26:55', ultimo_cambio_por='magda_al' WHERE inversion_id='cc483a12801aae6f11efb65c90ae19a7'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801aae6f11efb65c90ae19a7','2024-12-14 09:26:55','magda_al','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 13/Dic/24 | |
| Fecha Terminado | 14/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 180.97 | |
| Monto Interés Real | 180.97 | |
| Monto Pagado | 391,338.71 | |
| Saldo | 0.00 | 391,338.71 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801a9f6411efba2fd9b7f6a7
[banco_cuenta_id] => 49
[monto_reembolsado] => 391338.71
[monto_global_reembolso] => 391519.68
[monto_isr] => 0
[monto_interes] => 180.96999999997
[monto_interes_real] => 180.96999999997
[fecha_deposito] => 2024-12-13 09:26:57
[fecha] => 2024-12-14 09:26:55
[alta_db] => 2024-12-14 09:26:55
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801a9f6411efba2fd9b769fe
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801a9f6411efba2fd9b815aa
[ref_num] => 3481
[deposit_fecha] => 2024-12-13 09:26:57
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '49' AND ((cash + deposit - withdrawal) = 391519.68) AND fecha between '2024-12-13 00:00:00' AND '2024-12-13 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801a9f6411efba2fd9b769fe
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+391519.68+0.00>=deposit OR 391519.68 = 0,'LT','LP')
, usado = usado + 391519.68
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-14 09:26:55'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-14 09:26:55'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = 'cc483a12801a9f6411efba2fd9b769fe'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9f6411efba2fd9b815aa', 'cc483a12801a9f6411efba2fd9b769fe', 'inversion_reembolso', 'cc483a12801a9f6411efba2fd9b7f6a7', '', 'sistema', '2024-12-14 09:26:55')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+878194.74+0.00>=deposit OR 878194.74 = 0,'LT','LP')
, usado = usado + 878194.74
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-14 09:26:55'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-14 09:26:55'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = 'cc483a12801a9f6411efba2fd9bdb561'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9f6411efba2fd9be5f5f', 'cc483a12801a9f6411efba2fd9bdb561', 'inversion_reembolso', 'cc483a12801a9f6411efba2fd9be3fc7', '', 'sistema', '2024-12-14 09:26:55')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801a9f6411efba2fd9be3fc7','51','877787.12','878194.74','0','407.62','407.62','2024-12-13 09:26:59','2024-12-14 09:26:55','2024-12-14 09:26:55','sistema','5','cc483a12801a9f6411efba2fd9bdb561','cc483a12801a9f6411efba2fd9be5f5f','3482','cc483a12801aae6f11efb65db8a42c87')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-13 09:26:59', fecha_terminado='2024-12-14 09:26:55', inversion_reembolso_id='cc483a12801a9f6411efba2fd9be3fc7', monto_interes='407.62', monto_interes_real='407.62', monto_reembolsado='877787.12', saldo='0', terminado='Si', ultimo_cambio='2024-12-14 09:26:55', ultimo_cambio_por='magda_al' WHERE inversion_id='cc483a12801aae6f11efb65db8a42c87'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801aae6f11efb65db8a42c87','2024-12-14 09:26:55','magda_al','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 13/Dic/24 | |
| Fecha Terminado | 14/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 407.62 | |
| Monto Interés Real | 407.62 | |
| Monto Pagado | 877,787.12 | |
| Saldo | 0.00 | 877,787.12 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801a9f6411efba2fd9be3fc7
[banco_cuenta_id] => 51
[monto_reembolsado] => 877787.12
[monto_global_reembolso] => 878194.74
[monto_isr] => 0
[monto_interes] => 407.62
[monto_interes_real] => 407.62
[fecha_deposito] => 2024-12-13 09:26:59
[fecha] => 2024-12-14 09:26:55
[alta_db] => 2024-12-14 09:26:55
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801a9f6411efba2fd9bdb561
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801a9f6411efba2fd9be5f5f
[ref_num] => 3482
[deposit_fecha] => 2024-12-13 09:26:59
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '51' AND ((cash + deposit - withdrawal) = 878194.74) AND fecha between '2024-12-13 00:00:00' AND '2024-12-13 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801a9f6411efba2fd9bdb561
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+878194.74+0.00>=deposit OR 878194.74 = 0,'LT','LP')
, usado = usado + 878194.74
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-14 09:26:55'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-14 09:26:55'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = 'cc483a12801a9f6411efba2fd9bdb561'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9f6411efba2fd9be5f5f', 'cc483a12801a9f6411efba2fd9bdb561', 'inversion_reembolso', 'cc483a12801a9f6411efba2fd9be3fc7', '', 'sistema', '2024-12-14 09:26:55')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+53668.51+0.00>=deposit OR 53668.51 = 0,'LT','LP')
, usado = usado + 53668.51
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-14 09:26:55'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-14 09:26:55'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '53' AND banco_cuenta_mov_id = 'cc483a12801a9f6411efba2fd9c7a625'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9f6411efba2fd9c8a171', 'cc483a12801a9f6411efba2fd9c7a625', 'inversion_reembolso', 'cc483a12801a9f6411efba2fd9c87924', '', 'sistema', '2024-12-14 09:26:55')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('cc483a12801a9f6411efba2fd9c87924','53','53643.70','53668.51','0','24.810000000005','24.810000000005','2024-12-13 09:27:01','2024-12-14 09:26:55','2024-12-14 09:26:55','sistema','1','cc483a12801a9f6411efba2fd9c7a625','cc483a12801a9f6411efba2fd9c8a171','3483','cc483a12801aae6f11efb65c90993bb4')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2024-12-13 09:27:01', fecha_terminado='2024-12-14 09:26:55', inversion_reembolso_id='cc483a12801a9f6411efba2fd9c87924', monto_interes='24.810000000005', monto_interes_real='24.810000000005', monto_reembolsado='53643.70', saldo='0', terminado='Si', ultimo_cambio='2024-12-14 09:26:55', ultimo_cambio_por='magda_al' WHERE inversion_id='cc483a12801aae6f11efb65c90993bb4'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801aae6f11efb65c90993bb4','2024-12-14 09:26:55','magda_al','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 13/Dic/24 | |
| Fecha Terminado | 14/Dic/24 | |
| Inversión Reembolso | | |
| Intereses | 24.81 | |
| Monto Interés Real | 24.81 | |
| Monto Pagado | 53,643.70 | |
| Saldo | 0.00 | 53,643.70 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => cc483a12801a9f6411efba2fd9c87924
[banco_cuenta_id] => 53
[monto_reembolsado] => 53643.70
[monto_global_reembolso] => 53668.51
[monto_isr] => 0
[monto_interes] => 24.810000000005
[monto_interes_real] => 24.810000000005
[fecha_deposito] => 2024-12-13 09:27:01
[fecha] => 2024-12-14 09:26:55
[alta_db] => 2024-12-14 09:26:55
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => cc483a12801a9f6411efba2fd9c7a625
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => cc483a12801a9f6411efba2fd9c8a171
[ref_num] => 3483
[deposit_fecha] => 2024-12-13 09:27:01
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '53' AND ((cash + deposit - withdrawal) = 53668.51) AND fecha between '2024-12-13 00:00:00' AND '2024-12-13 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => cc483a12801a9f6411efba2fd9c7a625
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+53668.51+0.00>=deposit OR 53668.51 = 0,'LT','LP')
, usado = usado + 53668.51
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2024-12-14 09:26:55'
, ultimo_cambio_por = 'sistema'
, link_el = '2024-12-14 09:26:55'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '53' AND banco_cuenta_mov_id = 'cc483a12801a9f6411efba2fd9c7a625'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('cc483a12801a9f6411efba2fd9c8a171', 'cc483a12801a9f6411efba2fd9c7a625', 'inversion_reembolso', 'cc483a12801a9f6411efba2fd9c87924', '', 'sistema', '2024-12-14 09:26:55')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+151694.11+0.00>=deposit OR 151694.11 = 0,'LT','LP')
, usado = usado + 151694.11
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-04 18:02:42'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-04 18:02:42'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '57' AND banco_cuenta_mov_id = '00155d01f600bfe911f011b14bf504fe'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('00155d01f600bfe911f011b14bf585fb', '00155d01f600bfe911f011b14bf504fe', 'inversion_reembolso', '00155d01f600bfe911f011b14bf5644c', '', 'sistema', '2025-04-04 18:02:42')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('00155d01f600bfe911f011b14bf5644c','57','151631.40','151694.11','0','62.709999999992','62.709999999992','2025-04-04 18:02:45','2025-04-04 18:02:42','2025-04-04 18:02:42','sistema','15','00155d01f600bfe911f011b14bf504fe','00155d01f600bfe911f011b14bf585fb','9389','00155d01f600bfe911f011b113820908')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2025-04-04 18:02:45', fecha_terminado='2025-04-04 18:02:42', inversion_reembolso_id='00155d01f600bfe911f011b14bf5644c', monto_interes='62.709999999992', monto_interes_real='62.709999999992', monto_reembolsado='151631.40', saldo='0', terminado='Si', ultimo_cambio='2025-04-04 18:02:43', ultimo_cambio_por='rony' WHERE inversion_id='00155d01f600bfe911f011b113820908'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','00155d01f600bfe911f011b113820908','2025-04-04 18:02:43','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 04/Abr/25 | |
| Fecha Terminado | 04/Abr/25 | |
| Inversión Reembolso | | |
| Intereses | 62.71 | |
| Monto Interés Real | 62.71 | |
| Monto Pagado | 151,631.40 | |
| Saldo | 0.00 | 151,631.40 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 00155d01f600bfe911f011b14bf5644c
[banco_cuenta_id] => 57
[monto_reembolsado] => 151631.40
[monto_global_reembolso] => 151694.11
[monto_isr] => 0
[monto_interes] => 62.709999999992
[monto_interes_real] => 62.709999999992
[fecha_deposito] => 2025-04-04 18:02:45
[fecha] => 2025-04-04 18:02:42
[alta_db] => 2025-04-04 18:02:42
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 00155d01f600bfe911f011b14bf504fe
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 00155d01f600bfe911f011b14bf585fb
[ref_num] => 9389
[deposit_fecha] => 2025-04-04 18:02:45
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '57' AND ((cash + deposit - withdrawal) = 151694.11) AND fecha between '2025-04-04 00:00:00' AND '2025-04-04 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 00155d01f600bfe911f011b14bf504fe
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+151694.11+0.00>=deposit OR 151694.11 = 0,'LT','LP')
, usado = usado + 151694.11
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-04 18:02:42'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-04 18:02:42'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '57' AND banco_cuenta_mov_id = '00155d01f600bfe911f011b14bf504fe'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('00155d01f600bfe911f011b14bf585fb', '00155d01f600bfe911f011b14bf504fe', 'inversion_reembolso', '00155d01f600bfe911f011b14bf5644c', '', 'sistema', '2025-04-04 18:02:42')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+118292.19+0.00>=deposit OR 118292.19 = 0,'LT','LP')
, usado = usado + 118292.19
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-04 18:17:38'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-04 18:17:38'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '57' AND banco_cuenta_mov_id = '00155d01f600bfe911f011b361915c4c'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('00155d01f600bfe911f011b36191d148', '00155d01f600bfe911f011b361915c4c', 'inversion_reembolso', '00155d01f600bfe911f011b36191b8c7', '', 'sistema', '2025-04-04 18:17:38')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('00155d01f600bfe911f011b36191b8c7','57','118243.29','118292.19','0','48.900000000009','48.900000000009','2025-03-28 18:17:50','2025-04-04 18:17:38','2025-04-04 18:17:38','sistema','15','00155d01f600bfe911f011b361915c4c','00155d01f600bfe911f011b36191d148','9390','cc483a12801aa36111f0068bf3cd427b')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2025-03-28 18:17:50', fecha_terminado='2025-04-04 18:17:38', inversion_reembolso_id='00155d01f600bfe911f011b36191b8c7', monto_interes='48.900000000009', monto_interes_real='48.900000000009', monto_reembolsado='118243.29', saldo='0', terminado='Si', ultimo_cambio='2025-04-04 18:17:38', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801aa36111f0068bf3cd427b'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801aa36111f0068bf3cd427b','2025-04-04 18:17:38','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 28/Mar/25 | |
| Fecha Terminado | 04/Abr/25 | |
| Inversión Reembolso | | |
| Intereses | 48.90 | |
| Monto Interés Real | 48.90 | |
| Monto Pagado | 118,243.29 | |
| Saldo | 0.00 | 118,243.29 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 00155d01f600bfe911f011b36191b8c7
[banco_cuenta_id] => 57
[monto_reembolsado] => 118243.29
[monto_global_reembolso] => 118292.19
[monto_isr] => 0
[monto_interes] => 48.900000000009
[monto_interes_real] => 48.900000000009
[fecha_deposito] => 2025-03-28 18:17:50
[fecha] => 2025-04-04 18:17:38
[alta_db] => 2025-04-04 18:17:38
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 00155d01f600bfe911f011b361915c4c
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 00155d01f600bfe911f011b36191d148
[ref_num] => 9390
[deposit_fecha] => 2025-03-28 18:17:50
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '57' AND ((cash + deposit - withdrawal) = 118292.19) AND fecha between '2025-03-28 00:00:00' AND '2025-03-28 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 00155d01f600bfe911f011b361915c4c
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+118292.19+0.00>=deposit OR 118292.19 = 0,'LT','LP')
, usado = usado + 118292.19
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-04 18:17:38'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-04 18:17:38'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '57' AND banco_cuenta_mov_id = '00155d01f600bfe911f011b361915c4c'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('00155d01f600bfe911f011b36191d148', '00155d01f600bfe911f011b361915c4c', 'inversion_reembolso', '00155d01f600bfe911f011b36191b8c7', '', 'sistema', '2025-04-04 18:17:38')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+178632.16+0.00>=deposit OR 178632.16 = 0,'LT','LP')
, usado = usado + 178632.16
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-07 10:53:58'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-07 10:53:58'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = '208810db20c6a33a11f013d0e641423e'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c6a33a11f013d0e641d6fd', '208810db20c6a33a11f013d0e641423e', 'inversion_reembolso', '208810db20c6a33a11f013d0e641c2ab', '', 'sistema', '2025-04-07 10:53:58')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c6a33a11f013d0e641c2ab','49','178558.31','178632.16','0','73.850000000006','73.850000000006','2025-03-28 10:54:08','2025-04-07 10:53:58','2025-04-07 10:53:58','sistema','9','208810db20c6a33a11f013d0e641423e','208810db20c6a33a11f013d0e641d6fd','965','cc483a12801aa36111f0068bf2ea29cf')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2025-03-28 10:54:08', fecha_terminado='2025-04-07 10:53:58', inversion_reembolso_id='208810db20c6a33a11f013d0e641c2ab', monto_interes='73.850000000006', monto_interes_real='73.850000000006', monto_reembolsado='178558.31', saldo='0', terminado='Si', ultimo_cambio='2025-04-07 10:53:58', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801aa36111f0068bf2ea29cf'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801aa36111f0068bf2ea29cf','2025-04-07 10:53:58','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 28/Mar/25 | |
| Fecha Terminado | 07/Abr/25 | |
| Inversión Reembolso | | |
| Intereses | 73.85 | |
| Monto Interés Real | 73.85 | |
| Monto Pagado | 178,558.31 | |
| Saldo | 0.00 | 178,558.31 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c6a33a11f013d0e641c2ab
[banco_cuenta_id] => 49
[monto_reembolsado] => 178558.31
[monto_global_reembolso] => 178632.16
[monto_isr] => 0
[monto_interes] => 73.850000000006
[monto_interes_real] => 73.850000000006
[fecha_deposito] => 2025-03-28 10:54:08
[fecha] => 2025-04-07 10:53:58
[alta_db] => 2025-04-07 10:53:58
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c6a33a11f013d0e641423e
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c6a33a11f013d0e641d6fd
[ref_num] => 965
[deposit_fecha] => 2025-03-28 10:54:08
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '49' AND ((cash + deposit - withdrawal) = 178632.16) AND fecha between '2025-03-28 00:00:00' AND '2025-03-28 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c6a33a11f013d0e641423e
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+178632.16+0.00>=deposit OR 178632.16 = 0,'LT','LP')
, usado = usado + 178632.16
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-07 10:53:58'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-07 10:53:58'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = '208810db20c6a33a11f013d0e641423e'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c6a33a11f013d0e641d6fd', '208810db20c6a33a11f013d0e641423e', 'inversion_reembolso', '208810db20c6a33a11f013d0e641c2ab', '', 'sistema', '2025-04-07 10:53:58')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+178706.03+0.00>=deposit OR 178706.03 = 0,'LT','LP')
, usado = usado + 178706.03
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-07 10:54:12'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-07 10:54:12'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = '208810db20c6a33a11f013d0ee57a330'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c6a33a11f013d0ee581560', '208810db20c6a33a11f013d0ee57a330', 'inversion_reembolso', '208810db20c6a33a11f013d0ee5801c1', '', 'sistema', '2025-04-07 10:54:12')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c6a33a11f013d0ee5801c1','49','178632.16','178706.03','0','73.869999999995','73.869999999995','2025-04-04 10:54:14','2025-04-07 10:54:12','2025-04-07 10:54:12','sistema','9','208810db20c6a33a11f013d0ee57a330','208810db20c6a33a11f013d0ee581560','966','208810db20c6a33a11f013d0e65904b8')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2025-04-04 10:54:14', fecha_terminado='2025-04-07 10:54:12', inversion_reembolso_id='208810db20c6a33a11f013d0ee5801c1', monto_interes='73.869999999995', monto_interes_real='73.869999999995', monto_reembolsado='178632.16', saldo='0', terminado='Si', ultimo_cambio='2025-04-07 10:54:12', ultimo_cambio_por='rony' WHERE inversion_id='208810db20c6a33a11f013d0e65904b8'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','208810db20c6a33a11f013d0e65904b8','2025-04-07 10:54:12','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 04/Abr/25 | |
| Fecha Terminado | 07/Abr/25 | |
| Inversión Reembolso | | |
| Intereses | 73.87 | |
| Monto Interés Real | 73.87 | |
| Monto Pagado | 178,632.16 | |
| Saldo | 0.00 | 178,632.16 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c6a33a11f013d0ee5801c1
[banco_cuenta_id] => 49
[monto_reembolsado] => 178632.16
[monto_global_reembolso] => 178706.03
[monto_isr] => 0
[monto_interes] => 73.869999999995
[monto_interes_real] => 73.869999999995
[fecha_deposito] => 2025-04-04 10:54:14
[fecha] => 2025-04-07 10:54:12
[alta_db] => 2025-04-07 10:54:12
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c6a33a11f013d0ee57a330
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c6a33a11f013d0ee581560
[ref_num] => 966
[deposit_fecha] => 2025-04-04 10:54:14
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '49' AND ((cash + deposit - withdrawal) = 178706.03) AND fecha between '2025-04-04 00:00:00' AND '2025-04-04 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c6a33a11f013d0ee57a330
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+178706.03+0.00>=deposit OR 178706.03 = 0,'LT','LP')
, usado = usado + 178706.03
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-07 10:54:12'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-07 10:54:12'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '49' AND banco_cuenta_mov_id = '208810db20c6a33a11f013d0ee57a330'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c6a33a11f013d0ee581560', '208810db20c6a33a11f013d0ee57a330', 'inversion_reembolso', '208810db20c6a33a11f013d0ee5801c1', '', 'sistema', '2025-04-07 10:54:12')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+510432.13+0.00>=deposit OR 510432.13 = 0,'LT','LP')
, usado = usado + 510432.13
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-07 11:30:27'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-07 11:30:27'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = '208810db20c6a33a11f013d5ff08d5f9'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c6a33a11f013d5ff093f26', '208810db20c6a33a11f013d5ff08d5f9', 'inversion_reembolso', '208810db20c6a33a11f013d5ff092a1c', '', 'sistema', '2025-04-07 11:30:27')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c6a33a11f013d5ff092a1c','51','510220.14','510432.13','0','211.98999999999','211.98999999999','2025-03-28 11:30:41','2025-04-07 11:30:27','2025-04-07 11:30:27','sistema','5','208810db20c6a33a11f013d5ff08d5f9','208810db20c6a33a11f013d5ff093f26','967','cc483a12801aa36111f0068bf3c8f118')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2025-03-28 11:30:41', fecha_terminado='2025-04-07 11:30:27', inversion_reembolso_id='208810db20c6a33a11f013d5ff092a1c', monto_interes='211.98999999999', monto_interes_real='211.98999999999', monto_reembolsado='510220.14', saldo='0', terminado='Si', ultimo_cambio='2025-04-07 11:30:27', ultimo_cambio_por='rony' WHERE inversion_id='cc483a12801aa36111f0068bf3c8f118'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','cc483a12801aa36111f0068bf3c8f118','2025-04-07 11:30:27','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 28/Mar/25 | |
| Fecha Terminado | 07/Abr/25 | |
| Inversión Reembolso | | |
| Intereses | 211.99 | |
| Monto Interés Real | 211.99 | |
| Monto Pagado | 510,220.14 | |
| Saldo | 0.00 | 510,220.14 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c6a33a11f013d5ff092a1c
[banco_cuenta_id] => 51
[monto_reembolsado] => 510220.14
[monto_global_reembolso] => 510432.13
[monto_isr] => 0
[monto_interes] => 211.98999999999
[monto_interes_real] => 211.98999999999
[fecha_deposito] => 2025-03-28 11:30:41
[fecha] => 2025-04-07 11:30:27
[alta_db] => 2025-04-07 11:30:27
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c6a33a11f013d5ff08d5f9
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c6a33a11f013d5ff093f26
[ref_num] => 967
[deposit_fecha] => 2025-03-28 11:30:41
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '51' AND ((cash + deposit - withdrawal) = 510432.13) AND fecha between '2025-03-28 00:00:00' AND '2025-03-28 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c6a33a11f013d5ff08d5f9
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+510432.13+0.00>=deposit OR 510432.13 = 0,'LT','LP')
, usado = usado + 510432.13
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-07 11:30:27'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-07 11:30:27'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = '208810db20c6a33a11f013d5ff08d5f9'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c6a33a11f013d5ff093f26', '208810db20c6a33a11f013d5ff08d5f9', 'inversion_reembolso', '208810db20c6a33a11f013d5ff092a1c', '', 'sistema', '2025-04-07 11:30:27')
)
)
sql: Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+511644.63+0.00>=deposit OR 511644.63 = 0,'LT','LP')
, usado = usado + 511644.63
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-07 11:30:38'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-07 11:30:38'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = '208810db20c6a33a11f013d605b9efc6'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c6a33a11f013d605ba57d5', '208810db20c6a33a11f013d605b9efc6', 'inversion_reembolso', '208810db20c6a33a11f013d605ba435f', '', 'sistema', '2025-04-07 11:30:38')
[2] => INSERT /** INSERTA INVERSION_REEMBOLSO **/ INTO inversion_reembolso(inversion_reembolso_id,banco_cuenta_id,monto_reembolsado,monto_global_reembolso,monto_isr,monto_interes,monto_interes_real,fecha_deposito,fecha,alta_db,alta_por,empresa_id,banco_cuenta_mov_id,banco_cuenta_mov_link_id,numero_referencia,inversion_id) VALUES('208810db20c6a33a11f013d605ba435f','51','511432.13','511644.63','0','212.5','212.5','2025-04-04 11:30:40','2025-04-07 11:30:38','2025-04-07 11:30:38','sistema','5','208810db20c6a33a11f013d605b9efc6','208810db20c6a33a11f013d605ba57d5','968','208810db20c6a33a11f013d5ff1cad6b')
[3] => UPDATE /** ACTUALIZA inversion **/ inversion SET bloqueado='MODIFICADO', fecha_reembolsado='2025-04-04 11:30:40', fecha_terminado='2025-04-07 11:30:38', inversion_reembolso_id='208810db20c6a33a11f013d605ba435f', monto_interes='212.5', monto_interes_real='212.5', monto_reembolsado='511432.13', saldo='0', terminado='Si', ultimo_cambio='2025-04-07 11:30:38', ultimo_cambio_por='rony' WHERE inversion_id='208810db20c6a33a11f013d5ff1cad6b'
[4] => INSERT /** INSERTA KV_RECORD_LOG **/ INTO kv_record_log(kv_record_log,collection_id,record_id,alta_db,usuario,kv_accion_log_id,note) VALUES(NULL,'52','208810db20c6a33a11f013d5ff1cad6b','2025-04-07 11:30:38','rony','2','| Campo | Valor Nuevo | Valor Anterior |
|---|
|
| Status | MODIFICADO | |
| Fecha Liquidación | 04/Abr/25 | |
| Fecha Terminado | 07/Abr/25 | |
| Inversión Reembolso | | |
| Intereses | 212.50 | |
| Monto Interés Real | 212.50 | |
| Monto Pagado | 511,432.13 | |
| Saldo | 0.00 | 511,432.13 |
| Terminado | Si | |
| |
')
)
invlink: Array
(
[inversion_reembolso_id] => 208810db20c6a33a11f013d605ba435f
[banco_cuenta_id] => 51
[monto_reembolsado] => 511432.13
[monto_global_reembolso] => 511644.63
[monto_isr] => 0
[monto_interes] => 212.5
[monto_interes_real] => 212.5
[fecha_deposito] => 2025-04-04 11:30:40
[fecha] => 2025-04-07 11:30:38
[alta_db] => 2025-04-07 11:30:38
[alta_por] => sistema
[empresa_id] =>
[banco_cuenta_mov_id] => 208810db20c6a33a11f013d605b9efc6
)
arrInfoLink: Array
(
[vale_acta] => 1
[mensaje] => LINK EXITOSO.
[link_id] => 208810db20c6a33a11f013d605ba57d5
[ref_num] => 968
[deposit_fecha] => 2025-04-04 11:30:40
[sqlstr] => SELECT /** SolicitaLinkBancario **/ * FROM banco_cuenta_mov WHERE banco_cuenta_id = '51' AND ((cash + deposit - withdrawal) = 511644.63) AND fecha between '2025-04-04 00:00:00' AND '2025-04-04 23:59:59' ORDER BY fecha DESC, usado DESC
[disponible] => 0
[bcm_id] => 208810db20c6a33a11f013d605b9efc6
[referencia] => ABONO INTERESES CEDE INVERSION CAPITAL
[bcmenDB] => Array
(
)
[sql] => Array
(
[0] => UPDATE /** SolicitaLinkBancario **/ banco_cuenta_mov SET link_vale = IF(usado+511644.63+0.00>=deposit OR 511644.63 = 0,'LT','LP')
, usado = usado + 511644.63
, idex100 = '0'
, idetotal = '0'
, factura = 'DEVOLUCION'
, factura_numero = '0'
, ivacobradox100 = '0'
, ivacobradototal = '0'
, empresa_id = ''
, cliente = ''
, tienda_id = ''
, cobra_iva = ''
, tipo_cash_nota = ''
, cash_nota_num = ''
, cash_num_cobro_iva = ''
, iva_incluido = ''
, puede_editar = 'No'
, ultimo_cambio = '2025-04-07 11:30:38'
, ultimo_cambio_por = 'sistema'
, link_el = '2025-04-07 11:30:38'
, link_por = 'sistema'
, banco_mov_tipo_id = '22'
WHERE banco_cuenta_id = '51' AND banco_cuenta_mov_id = '208810db20c6a33a11f013d605b9efc6'
[1] => INSERT /** SolicitaLinkBancario **/ INTO banco_cuenta_mov_link
(banco_cuenta_mov_link_id, banco_cuenta_mov_id, link_to, link, tienda_id, link_por, link_el)
VALUES ('208810db20c6a33a11f013d605ba57d5', '208810db20c6a33a11f013d605b9efc6', 'inversion_reembolso', '208810db20c6a33a11f013d605ba435f', '', 'sistema', '2025-04-07 11:30:38')
)
)