1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 08:02:40 +01:00
invoiceninja/resources/views/partials/discount_promo.blade.php
2016-12-14 16:19:16 +02:00

15 lines
488 B
PHP

<div class="alert alert-info" id="discountPromo">
{{ $account->company->present()->promoMessage }} &nbsp;&nbsp;
<a href="#" onclick="showUpgradeModal()" class="btn btn-primary btn-sm">{{ trans('texts.plan_upgrade') }}</a>
<a href="#" onclick="hideDiscountMessage()" class="pull-right">{{ trans('texts.hide') }}</a>
</div>
<script type="text/javascript">
function hideDiscountMessage() {
jQuery('#discountPromo').fadeOut();
return false;
}
</script>