Skip to content

Commit

Permalink
Update address field names
Browse files Browse the repository at this point in the history
No idea why, but addresses were camelCase. Fix the fields to use
snake_case instead, and voila! The update form works properly.
  • Loading branch information
dshoreman committed Oct 17, 2014
1 parent d63d0ca commit 413d402
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions models/order/fields.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,40 +42,40 @@ tabs:
tab: Products
disabled: true

billingName:
billing_name:
label: Name
tab: Payment Address
billingStreet:
billing_street:
label: Address
tab: Payment Address
billingTown:
billing_town:
label: Town
tab: Payment Address
billingCounty:
billing_county:
label: County
tab: Payment Address
billingPostcode:
billing_postcode:
label: Post Code
tab: Payment Address
billingCountry:
billing_country:
label: Country
tab: Payment Address

shippingName:
shipping_name:
label: Name
tab: Postage Address
shippingStreet:
shipping_street:
label: Address
tab: Postage Address
shippingTown:
shipping_town:
label: Town
tab: Postage Address
shippingCounty:
shipping_county:
label: County
tab: Postage Address
shippingPostcode:
shipping_postcode:
label: Post Code
tab: Postage Address
shippingCountry:
shipping_country:
label: Country
tab: Postage Address

0 comments on commit 413d402

Please sign in to comment.