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.0.25 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.0.24 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.0.23 app/models/ecom/core/custom_payment_detail.rb
ecom_core-1.0.22 app/models/ecom/core/custom_payment_detail.rb