Skip to content

Commit

Permalink
Merge pull request #12 from Thinkei/employee-payroll-advice
Browse files Browse the repository at this point in the history
Add EmployeePayrollAdvice model
  • Loading branch information
davidlumley committed Aug 31, 2014
2 parents ccdbd3c + 2844c38 commit 0bd735b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/myob-api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
require 'myob/api/models/employee'
require 'myob/api/models/employee_payroll_details'

require 'myob/api/models/employee_payroll_advice'

require 'myob/api/models/invoice'

require 'myob/api/models/payroll_category'
Expand Down
6 changes: 4 additions & 2 deletions lib/myob/api/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ def initialize(options)
model :Customer
model :Employee
model :EmployeePayrollDetail


model :EmployeePayrollAdvice

model :Invoice

model :PayrollCategory
model :Wage

Expand Down
11 changes: 11 additions & 0 deletions lib/myob/api/models/employee_payroll_advice.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module Myob
module Api
module Model
class EmployeePayrollAdvice < Base
def model_route
'Report/Payroll/EmployeePayrollAdvice'
end
end
end
end
end

0 comments on commit 0bd735b

Please sign in to comment.