Sha256: c020b60ec2e1300d61d1cdf09d0a1493e19dff41ddf8d4e4c5176651e843cee4

Contents?: true

Size: 325 Bytes

Versions: 84

Compression:

Stored size: 325 Bytes

Contents

module Ecom
  module Core
    class CustomPaymentDetail < ApplicationRecord
      belongs_to :payment, class_name: 'Ecom::Core::Payment'

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

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
ecom_core-1.2.31 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.30 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.29 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.28 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.27 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.26 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.25 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.24 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.23 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.22 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.21 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.20 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.19 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.18 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.17 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.16 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.15 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.14 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.13 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.12 app/models/ecom/core/custom_payment_detail.rb