add customer type and tax profile in customer

This commit is contained in:
Yan
2017-08-09 10:51:13 +06:30
parent 1685713ff5
commit cc6e422c8b
4 changed files with 16 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
json.extract! @crm_customer, :id, :name, :company, :contact_no, :email, :date_of_birth,
:membership_id, :membership_type, :membership_authentication_code,
:salutation, :gender,:nrc_no,:address,:card_no, :paypar_account_no
:salutation, :gender,:nrc_no,:address,:card_no, :paypar_account_no, :customer_type, :tax_profiles
json.url crm_customer_url(@crm_customer, format: :json)