Browse Source

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

refactoring
Guillaume Bourgeois 2 years ago
parent
commit
e6df7cd83f
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      backend/models/CreditForm.php
  2. +2
    -1
      common/models/CreditHistory.php

+ 2
- 1
backend/models/CreditForm.php View File

@@ -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 View File

@@ -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],
];
}


Loading…
Cancel
Save