Process Payroll customization

I was about to try when you send me this … but the result is ‘dict’ object has no attribute ‘start_date’

Maybe i need to create the string received to an object or to dict so that this runs

def check_mandatory(self):
for fieldname in [‘company’, ‘start_date’, ‘end_date’]:
if not self.get(fieldname):
frappe.throw((“Please set {0}”).format(self.meta.getlabel(fieldname)))

Yes i did… but after searching a litle bit more … i have managed by using

def submit_salary_slips1(doc):
dd = eval(doc)

	print "SUBMETER SALARIOSSSSSSSSS"

    **print dd['start_date']** 

	return

and it works … which means i will have to make few changes to some code i copied.