Skip to content

Commit

Permalink
bug fixed in cliente
Browse files Browse the repository at this point in the history
  • Loading branch information
gogl92 committed Dec 20, 2017
1 parent f2d87ee commit 9038c83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/models/Cliente.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Cliente extends Model
public $estado;
public $localidad;
public $NumRegIdTrib;
public $Pais;
/* Contacto */
public $nombre;
public $apellidos;
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/models/Conceptos.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class Conceptos extends ActiveRecord

/**
* @inheritdoc
*/
public function rules()
{
return [
Expand All @@ -100,7 +100,7 @@ public function rules()
[['pedimento_aduana'], 'string', 'max' => 20],
[['locacion_aduana'], 'string', 'max' => 75]
];
}
}*/

/**
* @inheritdoc
Expand Down

0 comments on commit 9038c83

Please sign in to comment.