mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for proposals
This commit is contained in:
parent
57e2c93e85
commit
622de49c64
@ -201,6 +201,7 @@ class ContactMailer extends Mailer
|
||||
'notes' => $reminder,
|
||||
'bccEmail' => $isFirst ? $account->getBccEmail() : false,
|
||||
'fromEmail' => $account->getFromEmail(),
|
||||
'proposal' => $proposal,
|
||||
];
|
||||
|
||||
if (! $proposal) {
|
||||
|
@ -2656,7 +2656,7 @@ $LANG = array(
|
||||
'tax_amount' => 'Tax Amount',
|
||||
'tax_paid' => 'Tax Paid',
|
||||
'none' => 'None',
|
||||
|
||||
'proposal_message_button' => 'To view your proposal for :amount, click the button below.',
|
||||
'proposal' => 'Proposal',
|
||||
'proposals' => 'Proposals',
|
||||
'list_proposals' => 'List Proposals',
|
||||
|
@ -4,8 +4,8 @@ $(function() {
|
||||
|
||||
window.grapesjsEditor = grapesjs.init({
|
||||
container : '#gjs',
|
||||
components: '{!! $entity ? $entity->html : '' !!}',
|
||||
style: '{!! $entity ? $entity->css : '' !!}',
|
||||
components: {!! json_encode($entity ? $entity->html : '') !!},
|
||||
style: {!! json_encode($entity ? $entity->css : '') !!},
|
||||
showDevices: false,
|
||||
plugins: ['gjs-preset-newsletter'],
|
||||
pluginsOpts: {
|
||||
@ -42,11 +42,11 @@ $(function() {
|
||||
blockManager.add("h{{ ($loop->index + 1) }}-block", {
|
||||
label: '{{ $snippet->name }}',
|
||||
category: '{{ $snippet->proposal_category ? $snippet->proposal_category->name : trans('texts.custom') }}',
|
||||
content: '{!! $snippet->html !!}',
|
||||
style: '{!! $snippet->css !!}',
|
||||
content: {!! json_encode($snippet->html) !!},
|
||||
style: {!! json_encode($snippet->css) !!},
|
||||
attributes: {
|
||||
title: '{!! $snippet->private_notes !!}',
|
||||
class:'fa fa-{!! $snippet->icon ?: 'font' !!}'
|
||||
title: {!! json_encode($snippet->private_notes) !!},
|
||||
class:'fa fa-{{ $snippet->icon ?: 'font' }}'
|
||||
}
|
||||
});
|
||||
@endforeach
|
||||
|
Loading…
Reference in New Issue
Block a user