1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/resources/views/partials/discount_promo.blade.php

15 lines
488 B
PHP
Raw Normal View History

2016-12-14 15:19:16 +01:00
<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>