From 9038c8363551d7e415c887bdb8214241d0f23fb0 Mon Sep 17 00:00:00 2001 From: macbook Date: Tue, 19 Dec 2017 23:40:53 -0600 Subject: [PATCH] bug fixed in cliente --- src/models/Cliente.php | 3 ++- src/models/Conceptos.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/models/Cliente.php b/src/models/Cliente.php index e436b1c..2b01ac9 100755 --- a/src/models/Cliente.php +++ b/src/models/Cliente.php @@ -23,6 +23,7 @@ class Cliente extends Model public $estado; public $localidad; public $NumRegIdTrib; + public $Pais; /* Contacto */ public $nombre; public $apellidos; @@ -53,7 +54,7 @@ class Cliente extends Model * @param $telefono * @param array $cuentas_banco */ - public function setClient($razons, $rfc, $calle, $numero_exterior, $numero_interior, $colonia, $codpos, $ciudad, $delegacion, $estado, $localidad, $NumRegIdTrib, $nombre, $apellidos, $email, $telefono, array $cuentas_banco) + public function setClient($razons, $rfc, $calle, $numero_exterior, $numero_interior, $colonia, $codpos, $ciudad, $delegacion, $estado, $localidad, $NumRegIdTrib, $nombre, $apellidos, $email, $telefono, array $cuentas_banco, $pais = "México") { $this->razons = $razons; $this->rfc = $rfc; diff --git a/src/models/Conceptos.php b/src/models/Conceptos.php index 7ef2fc1..b4a283b 100755 --- a/src/models/Conceptos.php +++ b/src/models/Conceptos.php @@ -86,7 +86,7 @@ class Conceptos extends ActiveRecord /** * @inheritdoc - */ + public function rules() { return [ @@ -100,7 +100,7 @@ public function rules() [['pedimento_aduana'], 'string', 'max' => 20], [['locacion_aduana'], 'string', 'max' => 75] ]; - } + }*/ /** * @inheritdoc