forked from CMS/memberPlumbing
sqlExport: Change "For"->"Event/Form Name" header name in transactions
at some point MembershipWorks changed the header in the CSV export
This commit is contained in:
parent
af0584651c
commit
50952bdb46
@ -225,7 +225,11 @@ class Transaction(BaseModel):
|
||||
phone = TextField(column_name="Phone", null=True)
|
||||
email = TextField(column_name="Email", null=True)
|
||||
|
||||
_csv_headers_override = {"_dp": "timestamp", "Transaction Type": "type"}
|
||||
_csv_headers_override = {
|
||||
"_dp": "timestamp",
|
||||
"Transaction Type": "type",
|
||||
"Event/Form Name": "for_",
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def from_csv_dict(cls, data):
|
||||
|
Loading…
Reference in New Issue
Block a user