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