finished customer and join membership in crm

This commit is contained in:
Aung Myo
2017-06-07 16:38:24 +06:30
parent 9e3eaaf214
commit 387ffa996b
14 changed files with 248 additions and 92 deletions

View File

@@ -1 +1,2 @@
json.partial! "crm_customers/crm_customer", crm_customer: @crm_customer
json.extract! @crm_customer, :id, :name, :company, :contact_no, :email, :date_of_birth, :membership_id, :membership_type, :membership_authentication_code, :created_at, :updated_at
json.url crm_customer_url(@crm_customer, format: :json)