I have a query with join and in both tables I have a column with the same name ds_observacao
.
The tables are: cliente
and ordem_servico
.
When showing in view , the value of this column returns me blank. You are looking for the column of the cliente
table. How do I return the value to make explicit what I want from the ordem_servico
table?
I have tried to do so in view :
echo $registros->ordem_servico->ds_observacao;
But without success.