Sha256: adadd381469afc33f9006c6336502b7326ab2c46c0f9443598a336f960ea9486

Contents?: true

Size: 342 Bytes

Versions: 45

Compression:

Stored size: 342 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

45 entries across 45 versions & 1 rubygems

Version Path
ecom_core-1.2.11 spec/factories/ecom/core/payment_details.rb
ecom_core-1.2.10 spec/factories/ecom/core/payment_details.rb
ecom_core-1.2.9 spec/factories/ecom/core/payment_details.rb
ecom_core-1.2.7 spec/factories/ecom/core/payment_details.rb
ecom_core-1.2.6 spec/factories/ecom/core/payment_details.rb