Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
Barreto committed Jan 18, 2024
1 parent 8638ad4 commit 2005d74
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion application/models/Conecte_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getCobrancas($table, $fields, $where = '', $perpage = 0, $start
$this->db->join('clientes', 'cobrancas.clientes_id = clientes.idClientes', 'left');
$this->db->where('clientes_id', $cliente);
$this->db->limit($perpage, $start);
$this->db->order_by('idCobrancas', 'desc');
$this->db->order_by('idCobranca', 'desc');
if ($where) {
$this->db->where($where);
}
Expand Down
4 changes: 4 additions & 0 deletions application/views/clientes/clientes.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
<tr>
<th>Cod.</th>
<th>Nome</th>
<th>Contato</th>
<th>CPF/CNPJ</th>
<th>Telefone</th>
<th>Celular</th>
<th>Email</th>
<th>Ações</th>
</tr>
Expand All @@ -44,8 +46,10 @@
echo '<tr>';
echo '<td>' . $r->idClientes . '</td>';
echo '<td><a href="' . base_url() . 'index.php/clientes/visualizar/' . $r->idClientes . '" style="margin-right: 1%">' . $r->nomeCliente . '</a></td>';
echo '<td>' . $r->contato . '</td>';
echo '<td>' . $r->documento . '</td>';
echo '<td>' . $r->telefone . '</td>';
echo '<td>' . $r->celular . '</td>';
echo '<td>' . $r->email . '</td>';
echo '<td>';
if ($this->permission->checkPermission($this->session->userdata('permissao'), 'vCliente')) {
Expand Down
8 changes: 4 additions & 4 deletions application/views/os/imprimirOs.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<table class="table table-condensend">
<tbody>
<tr>
<td style="width: 85%; padding-left: 0">
<td style="width: 75%; padding-left: 0">
<ul>
<li>
<span>
Expand Down Expand Up @@ -134,7 +134,7 @@
</td>
<?php if ($result->status == 'Finalizado' || $result->status == 'Aprovado') { ?>
<?php if ($qrCode) : ?>
<td style="width: 15%; padding: 0;text-align:center;">
<td style="width: 25%; padding: 0;text-align:center;">
<img style="margin:12px 0px 0px 0px" src="<?php echo base_url(); ?>assets/img/logo_pix.png" width="64px" alt="QR Code de Pagamento" /></br>
<img style="margin:5px 0px 0px 0px" width="94px" src="<?= $qrCode ?>" alt="QR Code de Pagamento" /></br>
<?php echo '<span style="margin:0px;font-size: 80%;text-align:center;">Chave PIX: ' . $chaveFormatada . '</span>' ;?>
Expand Down Expand Up @@ -335,7 +335,7 @@
<table class="table table-condensend">
<tbody>
<tr>
<td style="width: 85%; padding-left: 0">
<td style="width: 75%; padding-left: 0">
<ul>
<li>
<span>
Expand Down Expand Up @@ -367,7 +367,7 @@
</td>
<?php if ($result->status == 'Finalizado' || $result->status == 'Aprovado') { ?>
<?php if ($qrCode) : ?>
<td style="width: 15%; padding: 0;text-align:center;">
<td style="width: 25%; padding: 0;text-align:center;">
<img style="margin:12px 0px 0px 0px" src="<?php echo base_url(); ?>assets/img/logo_pix.png" width="64px" alt="QR Code de Pagamento" /></br>
<img style="margin:5px 0px 0px 0px" width="94px" src="<?= $qrCode ?>" alt="QR Code de Pagamento" /></br>
<?php echo '<span style="margin:0px;font-size: 80%;text-align:center;">Chave PIX: ' . $chaveFormatada . '</span>' ;?>
Expand Down

0 comments on commit 2005d74

Please sign in to comment.