Add button to view Customer in CORE Office, from profile view

This commit is contained in:
Lance Edgar 2020-03-17 12:29:48 -05:00
parent 17f443b36a
commit 89a4bc50d7

View 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()}