Add button to view Customer in CORE Office, from profile view
This commit is contained in:
parent
17f443b36a
commit
89a4bc50d7
14
rattail_demo/web/templates/people/view_profile_buefy.mako
Normal file
14
rattail_demo/web/templates/people/view_profile_buefy.mako
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
## -*- coding: utf-8; -*-
|
||||||
|
<%inherit file="tailbone:templates/people/view_profile_buefy.mako" />
|
||||||
|
|
||||||
|
<%def name="render_customer_panel_buttons(customer)">
|
||||||
|
<b-button type="is-primary"
|
||||||
|
tag="a" :href="customer.view_corepos_url" target="_blank"
|
||||||
|
:disabled="!customer.view_corepos_url">
|
||||||
|
View in CORE Office
|
||||||
|
</b-button>
|
||||||
|
${parent.render_customer_panel_buttons(customer)}
|
||||||
|
</%def>
|
||||||
|
|
||||||
|
|
||||||
|
${parent.body()}
|
Loading…
Reference in a new issue