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.1.19 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.18 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.17 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.16 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.15 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.14 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.13 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.12 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.11 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.10 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.9 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.8 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.7 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.6 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.5 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.4 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.3 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.2 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.1 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.1.0 app/models/ecom/core/custom_payment_detail.rb