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

[['id_user', 'id_user_action', 'id_producer'], 'integer'], [['id_user', 'id_user_action', 'id_producer'], 'integer'],
[['date','send_mail'], 'safe'], [['date','send_mail'], 'safe'],
[['amount'], 'double'], [['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

[['id_user', 'id_user_action', 'id_order', 'id_producer'], 'integer'], [['id_user', 'id_user_action', 'id_order', 'id_producer'], 'integer'],
[['date'], 'safe'], [['date'], 'safe'],
[['amount'], 'double'], [['amount'], 'double'],
[['type', 'mean_payment', 'comment'], 'string', 'max' => 255],
[['type', 'mean_payment'], 'string', 'max' => 255],
[['comment'], 'string', 'max' => 2048],
]; ];
} }



Loading…
Cancel
Save