Bläddra i källkod

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

refactoring
Guillaume Bourgeois 2 år sedan
förälder
incheckning
e6df7cd83f
2 ändrade filer med 4 tillägg och 2 borttagningar
  1. +2
    -1
      backend/models/CreditForm.php
  2. +2
    -1
      common/models/CreditHistory.php

+ 2
- 1
backend/models/CreditForm.php Visa fil

[['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 Visa fil

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



Laddar…
Avbryt
Spara