Parcourir la source

Remove deprecated BigDecimal

master
Adrian Short il y a 9 ans
Parent
révision
17cbf64288
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      models.rb

+ 1
- 1
models.rb Voir le fichier

@@ -6,7 +6,7 @@ class Payment
property :updated_at, DateTime
property :service_id, Integer, :required => true
property :supplier_id, Integer, :required => true
property :amount, BigDecimal, :precision => 10, :scale => 2, :required => true # ex VAT
property :amount, Decimal, :precision => 10, :scale => 2, :required => true # ex VAT
property :d, Date, :required => true # transaction date
property :transaction_id, Integer # May not be unique per payment as one transaction could have several payments


Chargement…
Annuler
Enregistrer