Commits

Jason R. Coombs committed 1047aa6

Add a payee to export

Comments (0)

Files changed (1)

jaraco/financial/merchant.py

 			descriptor = "Residuals Shared : " + unicode(merchant),
 			amount = -amount*share_rate,
 		)
-		txn = ledger.Transaction(date=date,
+		txn = ledger.Transaction(date=date, payee='Cornerstone',
 			designation=designation)
 		txn.source = 'calculated'
 		my_lgr.add(txn)
 			w = SheetWriter(sheet)
 			w.write('Date', 'Payee', 'Category', 'Amount')
 			for txn in agent_lgr:
-				cells = w.write(txn.date, None, txn.designation.descriptor,
+				cells = w.write(txn.date, txn.payee, txn.designation.descriptor,
 					txn.amount)
 				cells[-1].format = currency
 		xlsxcessive.xlsx.save(workbook, filename)