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.3.14 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.13 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.12 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.11 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.10 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.9 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.8 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.7 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.6 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.5 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.4 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.3 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.2 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.1 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.3.0 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.36 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.35 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.34 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.33 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.2.32 app/models/ecom/core/custom_payment_detail.rb