Sha256: a59350bd8d54a1ce45b774059e6bc1b38b2147b5a00ae0456fda1f9986fc36c3

Contents?: true

Size: 282 Bytes

Versions: 5

Compression:

Stored size: 282 Bytes

Contents

module Ecom
  module Core
    class PaymentDetail < ApplicationRecord
      belongs_to :crew
      belongs_to :payment

      validates :hours, :ot_hours, :base_salary, :overtime, :gross_salary, :tax, :pension, :net_salary, :net_pay,
                presence: true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_core-1.0.19 app/models/ecom/core/payment_detail.rb
ecom_core-1.0.18 app/models/ecom/core/payment_detail.rb
ecom_core-1.0.17 app/models/ecom/core/payment_detail.rb
ecom_core-1.0.16 app/models/ecom/core/payment_detail.rb
ecom_core-1.0.15 app/models/ecom/core/payment_detail.rb