fix bug for empty created by on payment when transaction type is cash