diff --git a/vendor/model/FinancialEntries.class.php b/vendor/model/FinancialEntries.class.php index 83ed141..bd063a3 100644 --- a/vendor/model/FinancialEntries.class.php +++ b/vendor/model/FinancialEntries.class.php @@ -153,10 +153,10 @@ class FinancialEntries public function GetBudgets(int $companiesBudgetsId) { /** Parametros de entrada */ - echo $this->companiesBudgetsId = $companiesBudgetsId; + $this->companiesBudgetsId = $companiesBudgetsId; /** Consulta SQL */ - echo $this->sql = 'select fm.financial_movements_id, + $this->sql = 'select fm.financial_movements_id, fm.financial_accounts_id, fm.financial_entries_id, fm.financial_outputs_id, @@ -173,7 +173,7 @@ class FinancialEntries fm.status, fm.note, fm.movement_user_confirmed, - c.reference as reference_client, + c.cns as reference_client, fc.reference from financial_movements fm left join companies c on fm.company_id = c.company_id