Ver código fonte

[Backend] Utilisateurs > Crédit : ligne crédit non prise en compte (commentaire trop long) #576

refactoring
Guillaume Bourgeois 2 anos atrás
pai
commit
e6df7cd83f
2 arquivos alterados com 4 adições e 2 exclusões
  1. +2
    -1
      backend/models/CreditForm.php
  2. +2
    -1
      common/models/CreditHistory.php

+ 2
- 1
backend/models/CreditForm.php Ver arquivo

@@ -73,7 +73,8 @@ class CreditForm extends Model
[['id_user', 'id_user_action', 'id_producer'], 'integer'],
[['date','send_mail'], 'safe'],
[['amount'], 'double'],
[['type', 'mean_payment', 'comment'], 'string', 'max' => 255],
[['type', 'mean_payment'], 'string', 'max' => 255],
[['comment'], 'string', 'max' => 2048],
];
}


+ 2
- 1
common/models/CreditHistory.php Ver arquivo

@@ -85,7 +85,8 @@ class CreditHistory extends ActiveRecordCommon
[['id_user', 'id_user_action', 'id_order', 'id_producer'], 'integer'],
[['date'], 'safe'],
[['amount'], 'double'],
[['type', 'mean_payment', 'comment'], 'string', 'max' => 255],
[['type', 'mean_payment'], 'string', 'max' => 255],
[['comment'], 'string', 'max' => 2048],
];
}


Carregando…
Cancelar
Salvar