Sha256: 6dc335164183ffd86baedc0684646702acb351a2d2d5b58f90cec9c954ef127a

Contents?: true

Size: 423 Bytes

Versions: 39

Compression:

Stored size: 423 Bytes

Contents

FactoryBot.define do
  factory :custom_payment_detail, class: 'Ecom::Core::CustomPaymentDetail' do
    name { FFaker::Name.name }
    hours { 1.5 }
    ot_hours { 1.5 }
    base_salary { 1.5 }
    overtime { 1.5 }
    gross_salary { 100 }
    tax { 15 }
    pension { 5 }
    net_salary { 80 }
    net_pay { 80 }
    advance { 0 }
    wage { 1.5 }
    qualification { FFaker::Name.name }
    association :payment
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
ecom_core-1.2.5 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.2.4 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.2.3 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.2.2 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.2.1 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.2.0 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.28 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.27 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.26 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.25 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.24 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.23 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.22 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.21 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.20 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.19 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.18 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.17 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.16 spec/factories/ecom/core/custom_payment_details.rb
ecom_core-1.1.15 spec/factories/ecom/core/custom_payment_details.rb