Sha256: ce6038916ee3e5c25df01fed7b3eba30862492ffb0ec87c551bebe2e7d456b98

Contents?: true

Size: 344 Bytes

Versions: 41

Compression:

Stored size: 344 Bytes

Contents

FactoryBot.define do
  factory :payment_detail, class: 'Ecom::Core::PaymentDetail' do
    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 }
    association :crew
    association :payment
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
ecom_core-1.0.20 spec/factories/ecom/core/payment_details.rb