json.extract! @customer, :id, :name, :company, :contact_no,:salutation,
						 :gender,:nrc_no,:address,:card_no, :membership_type,
						 :membership_id, :created_at
json.invoices do
  json.array! @customer.lastest_invoices ,:id, :receipt_no, :receipt_date, :sale_status, :payment_status
end
