finished CRM and customer

This commit is contained in:
Aung Myo
2017-06-12 14:23:20 +06:30
parent 0943808ac8
commit e90178cfdc
13 changed files with 121 additions and 62 deletions

View File

@@ -96,6 +96,16 @@
<label>Date Of Birth</label>
<%= f.text_field :date_of_birth,:class=>"form-control date_of_birth datepicker"%>
</div>
<div class="form-group">
<select class="selectpicker form-control col-md-12" name="member_group_id">
<option>Select Member Group</option>
<% Lookup.where("lookup_type = ?", "member_group_type" ).each do |member| %>
<option value="<%= member.value %>">
<%= member.name %></option>
<%end %>
</select>
</div>
@@ -194,7 +204,7 @@
action: function(){
$.ajax({
type: "POST",
url: "update_sale/" ,
url: "update_sale" ,
data: {customer_id:customer_id,sale_id:sale_id},
dataType: "json",
success: function(data) {