intacctrb 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/intacctrb/employee.rb +18 -16
- data/lib/intacctrb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbfda956b6847f5e2448b80df6455bdd9cd91318
|
4
|
+
data.tar.gz: 073fed3fd99030097d7812cc9f68f67c924eef1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 225bd3ffde769e53e13bc407003dd26fbf728064da1298fb4d2b3b3ade97f389d9e94f6133ea6fcf335818f703f1140f1b055fd44411f47a2a3de603e74c7133
|
7
|
+
data.tar.gz: 6f049b7d792b46c125e703c294a13729d264ad25f305b0b3265ad631e95047c66fda460c3c60fa9348fe700f1fc295e90aa2ef5db110bf65ec4c18aa593d8eb4
|
data/Gemfile.lock
CHANGED
data/lib/intacctrb/employee.rb
CHANGED
@@ -105,23 +105,25 @@ module IntacctRB
|
|
105
105
|
end
|
106
106
|
|
107
107
|
def employee_xml xml
|
108
|
-
xml.
|
109
|
-
|
110
|
-
|
111
|
-
xml.
|
108
|
+
xml.employee {
|
109
|
+
xml.employeeid object.intacct_id if object.intacct_id
|
110
|
+
xml.title object.title if object.title
|
111
|
+
xml.personalinfo {
|
112
|
+
xml.contactname object.name
|
113
|
+
}
|
114
|
+
xml.locationid object.location_id if object.location_id
|
115
|
+
xml.departmentid object.departmentid if object.department_id
|
116
|
+
xml.classid object.classid if object.department_id
|
117
|
+
xml.supervisorid object.supervisorid if object.department_id
|
118
|
+
xml.birthdate date_string(object.birthdate) if object.birthdate
|
119
|
+
xml.startdate date_string(object.startdate) if object.startdate
|
120
|
+
xml.enddate date_string(object.enddate) if object.enddate
|
121
|
+
xml.terminationtype object.terminationtype if object.terminationtype
|
122
|
+
xml.employeetype object.employeetype if object.employeetype
|
123
|
+
xml.gender object.gender if object.gender
|
124
|
+
xml.status object.status if object.status
|
125
|
+
xml.currency object.currency if object.currency
|
112
126
|
}
|
113
|
-
xml.locationid object.location_id if object.location_id
|
114
|
-
xml.departmentid object.departmentid if object.department_id
|
115
|
-
xml.classid object.classid if object.department_id
|
116
|
-
xml.supervisorid object.supervisorid if object.department_id
|
117
|
-
xml.birthdate date_string(object.birthdate) if object.birthdate
|
118
|
-
xml.startdate date_string(object.startdate) if object.startdate
|
119
|
-
xml.enddate date_string(object.enddate) if object.enddate
|
120
|
-
xml.terminationtype object.terminationtype if object.terminationtype
|
121
|
-
xml.employeetype object.employeetype if object.employeetype
|
122
|
-
xml.gender object.gender if object.gender
|
123
|
-
xml.status object.status if object.status
|
124
|
-
xml.currency object.currency if object.currency
|
125
127
|
end
|
126
128
|
end
|
127
129
|
end
|
data/lib/intacctrb/version.rb
CHANGED