update condition for sync
This commit is contained in:
@@ -123,7 +123,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td><%= crm_customer.card_no rescue '-' %></td>
|
<td><%= crm_customer.card_no rescue '-' %></td>
|
||||||
<td>
|
<td>
|
||||||
<% if crm_customer.membership_id.nil? && !crm_customer.membership_type.nil? %>
|
<% if crm_customer.membership_id.nil? && !crm_customer.membership_type.nil? && !crm_customer.membership_type =="" && !crm_customer.paypar_account_no =="" && !crm_customer.paypar_account_no.nil? %>
|
||||||
<%= link_to t("views.btn.sync"), crm_customer_sync_path(crm_customer), :class => "btn btn-md bg-green waves-effect" %>
|
<%= link_to t("views.btn.sync"), crm_customer_sync_path(crm_customer), :class => "btn btn-md bg-green waves-effect" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if @customer_update_phone_email %>
|
<% if @customer_update_phone_email %>
|
||||||
|
|||||||
Reference in New Issue
Block a user