Skip to content

Commit a99977b

Browse files
committed
distribucion: agregada imagen de plugin distribucion
1 parent c6c6563 commit a99977b

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

Diff for: controller/distrib_creacion.php

+1
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ public function confirmar_devolucion($confirmado=TRUE){
411411
}
412412
if(!$error){
413413
$trans0->devolucionado = $confirmado;
414+
$trans0->fechad = \Date('d-m-Y');
414415
$trans0->fecha_modificacion = Date('d-m-Y H:i');
415416
$trans0->usuario_modificacion = $this->user->nick;
416417
if ($trans0->confirmar_devolucion()) {

Diff for: distribucion.png

22.2 KB
Loading

Diff for: model/distribucion_transporte.php

+1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ public function confirmar_despacho(){
286286
public function confirmar_devolucion(){
287287
$sql = "UPDATE distribucion_transporte SET ".
288288
"devolucionado = ".$this->var2str($this->devolucionado).", ".
289+
"fechad = ".$this->var2str($this->fechad).", ".
289290
"usuario_modificacion = ".$this->var2str($this->usuario_modificacion).", ".
290291
"fecha_modificacion = ".$this->var2str($this->fecha_modificacion)." ".
291292
"WHERE ".

0 commit comments

Comments
 (0)