mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Added HTML formatting to system emails
This commit is contained in:
parent
b57866456c
commit
14152fd3f1
@ -880,7 +880,7 @@ class AccountController extends BaseController
|
|||||||
$user = Auth::user();
|
$user = Auth::user();
|
||||||
$this->userMailer->sendConfirmation($user);
|
$this->userMailer->sendConfirmation($user);
|
||||||
|
|
||||||
return Redirect::to('/settings/' . ACCOUNT_COMPANY_DETAILS)->with('message', trans('texts.confirmation_resent'));
|
return Redirect::to('/settings/' . ACCOUNT_USER_DETAILS)->with('message', trans('texts.confirmation_resent'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function redirectLegacy($section, $subSection = false)
|
public function redirectLegacy($section, $subSection = false)
|
||||||
|
@ -437,6 +437,10 @@ if (!defined('CONTACT_EMAIL')) {
|
|||||||
define('NINJA_VERSION', '2.4.7');
|
define('NINJA_VERSION', '2.4.7');
|
||||||
define('NINJA_DATE', '2000-01-01');
|
define('NINJA_DATE', '2000-01-01');
|
||||||
|
|
||||||
|
define('SOCIAL_LINK_FACEBOOK', 'https://www.facebook.com/invoiceninja');
|
||||||
|
define('SOCIAL_LINK_TWITTER', 'https://twitter.com/invoiceninja');
|
||||||
|
define('SOCIAL_LINK_GITHUB', 'https://github.com/invoiceninja/invoiceninja/');
|
||||||
|
|
||||||
define('NINJA_FROM_EMAIL', 'maildelivery@invoiceninja.com');
|
define('NINJA_FROM_EMAIL', 'maildelivery@invoiceninja.com');
|
||||||
define('RELEASES_URL', 'https://trello.com/b/63BbiVVe/invoice-ninja');
|
define('RELEASES_URL', 'https://trello.com/b/63BbiVVe/invoice-ninja');
|
||||||
define('ZAPIER_URL', 'https://zapier.com/zapbook/invoice-ninja');
|
define('ZAPIER_URL', 'https://zapier.com/zapbook/invoice-ninja');
|
||||||
|
@ -209,7 +209,6 @@ class ContactMailer extends Mailer
|
|||||||
}
|
}
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'account' => trans('texts.email_from'),
|
|
||||||
'client' => $name,
|
'client' => $name,
|
||||||
'amount' => Utils::formatMoney($amount, DEFAULT_CURRENCY, DEFAULT_COUNTRY),
|
'amount' => Utils::formatMoney($amount, DEFAULT_CURRENCY, DEFAULT_COUNTRY),
|
||||||
'license' => $license
|
'license' => $license
|
||||||
|
BIN
public/images/emails/icon-facebook.png
Normal file
BIN
public/images/emails/icon-facebook.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
public/images/emails/icon-github.png
Normal file
BIN
public/images/emails/icon-github.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
public/images/emails/icon-twitter.png
Normal file
BIN
public/images/emails/icon-twitter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
public/images/emails/logo.png
Normal file
BIN
public/images/emails/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
@ -950,5 +950,33 @@
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -952,4 +952,32 @@ return array(
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -265,7 +265,7 @@ return array(
|
|||||||
'email_signature' => 'Regards,',
|
'email_signature' => 'Regards,',
|
||||||
'email_from' => 'The Invoice Ninja Team',
|
'email_from' => 'The Invoice Ninja Team',
|
||||||
'user_email_footer' => 'To adjust your email notification settings please visit '.SITE_URL.'/settings/notifications',
|
'user_email_footer' => 'To adjust your email notification settings please visit '.SITE_URL.'/settings/notifications',
|
||||||
'invoice_link_message' => 'To view your client invoice click the link below:',
|
'invoice_link_message' => 'To view the invoice click the link below:',
|
||||||
'notification_invoice_paid_subject' => 'Invoice :invoice was paid by :client',
|
'notification_invoice_paid_subject' => 'Invoice :invoice was paid by :client',
|
||||||
'notification_invoice_sent_subject' => 'Invoice :invoice was sent to :client',
|
'notification_invoice_sent_subject' => 'Invoice :invoice was sent to :client',
|
||||||
'notification_invoice_viewed_subject' => 'Invoice :invoice was viewed by :client',
|
'notification_invoice_viewed_subject' => 'Invoice :invoice was viewed by :client',
|
||||||
@ -977,5 +977,8 @@ return array(
|
|||||||
|
|
||||||
'token_expired' => 'Validation token was expired. Please try again.',
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
'invoice_link' => 'Invoice Link',
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -928,5 +928,32 @@ return array(
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -949,4 +949,33 @@ return array(
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -943,4 +943,33 @@ return array(
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -943,4 +943,33 @@ return array(
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -945,4 +945,33 @@ return array(
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -952,5 +952,34 @@ return array(
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -950,4 +950,32 @@ return array(
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -946,4 +946,32 @@ return array(
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -941,4 +941,33 @@ return array(
|
|||||||
'publishable_key' => 'Publishable Key',
|
'publishable_key' => 'Publishable Key',
|
||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -271,8 +271,7 @@ return array(
|
|||||||
'notification_invoice_sent' => 'Följande kund :client har mailats fakturan :invoice på :amount.',
|
'notification_invoice_sent' => 'Följande kund :client har mailats fakturan :invoice på :amount.',
|
||||||
'notification_invoice_viewed' => 'Följande kund :client har sett fakturan :invoice på :amount.',
|
'notification_invoice_viewed' => 'Följande kund :client har sett fakturan :invoice på :amount.',
|
||||||
'reset_password' => 'Du kan återställa ditt lösenord genom att klicka på länken nedan:',
|
'reset_password' => 'Du kan återställa ditt lösenord genom att klicka på länken nedan:',
|
||||||
'reset_password_footer' => 'Om du inte begärt en återställning av ditt lösenord så var snäll och maila vår support: ' . CONTACT_EMAIL,
|
'reset_password_footer' => 'Om du inte begärt en återställning av ditt lösenord så var snäll och maila vår support: '.CONTACT_EMAIL,
|
||||||
|
|
||||||
|
|
||||||
// Payment page
|
// Payment page
|
||||||
'secure_payment' => 'Säker betalning',
|
'secure_payment' => 'Säker betalning',
|
||||||
@ -300,7 +299,7 @@ return array(
|
|||||||
|
|
||||||
'logout' => 'Logga ut',
|
'logout' => 'Logga ut',
|
||||||
'sign_up_to_save' => 'Registrera dig för att spara ditt arbete',
|
'sign_up_to_save' => 'Registrera dig för att spara ditt arbete',
|
||||||
'agree_to_terms' =>'Jag godkänner Invoice Ninja :terms',
|
'agree_to_terms' => 'Jag godkänner Invoice Ninja :terms',
|
||||||
'terms_of_service' => 'Villkor för tjänsten',
|
'terms_of_service' => 'Villkor för tjänsten',
|
||||||
'email_taken' => 'E-postadressen är redan registrerad',
|
'email_taken' => 'E-postadressen är redan registrerad',
|
||||||
'working' => 'Jobbar',
|
'working' => 'Jobbar',
|
||||||
@ -419,7 +418,7 @@ return array(
|
|||||||
'active' => 'Aktiv',
|
'active' => 'Aktiv',
|
||||||
'pending' => 'Avvaktar',
|
'pending' => 'Avvaktar',
|
||||||
'deleted_user' => 'Användare borttagen',
|
'deleted_user' => 'Användare borttagen',
|
||||||
'limit_users' => 'Ledsen, men du får skapa max ' . MAX_NUM_USERS . ' användare',
|
'limit_users' => 'Ledsen, men du får skapa max '.MAX_NUM_USERS.' användare',
|
||||||
|
|
||||||
'confirm_email_invoice' => 'Är du säker på att du vill maila denna fakturan?',
|
'confirm_email_invoice' => 'Är du säker på att du vill maila denna fakturan?',
|
||||||
'confirm_email_quote' => 'Är du säker på att du vill maila denna offerten?',
|
'confirm_email_quote' => 'Är du säker på att du vill maila denna offerten?',
|
||||||
@ -948,5 +947,32 @@ return array(
|
|||||||
'secret_key' => 'Secret Key',
|
'secret_key' => 'Secret Key',
|
||||||
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
'missing_publishable_key' => 'Set your Stripe publishable key for an improved checkout process',
|
||||||
|
|
||||||
|
'email_design' => 'Email Design',
|
||||||
|
'due_by' => 'Due by :date',
|
||||||
|
'enable_email_markup' => 'Enable Markup',
|
||||||
|
'enable_email_markup_help' => 'Make it easier for your clients to pay you by adding schema.org markup to your emails.',
|
||||||
|
'template_help_title' => 'Templates Help',
|
||||||
|
'template_help_1' => 'Available variables:',
|
||||||
|
'email_design_id' => 'Email Style',
|
||||||
|
'email_design_help' => 'Make your emails look more professional with HTML layouts',
|
||||||
|
'plain' => 'Plain',
|
||||||
|
'light' => 'Light',
|
||||||
|
'dark' => 'Dark',
|
||||||
|
|
||||||
|
'industry_help' => 'Used to provide comparisons against the averages of companies of similar size and industry.',
|
||||||
|
'subdomain_help' => 'Customize the invoice link subdomain or display the invoice on your own website.',
|
||||||
|
'invoice_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the invoice number.',
|
||||||
|
'quote_number_help' => 'Specify a prefix or use a custom pattern to dynamically set the quote number.',
|
||||||
|
'custom_client_fields_helps' => 'Add a text input to the client create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_account_fields_helps' => 'Add the label and value to the company details section of the PDF.',
|
||||||
|
'custom_invoice_fields_helps' => 'Add a text input to the invoice create/edit page and display the label and value on the PDF.',
|
||||||
|
'custom_invoice_charges_helps' => 'Add a text input to the invoice create/edit page and include the charge in the invoice subtotals.',
|
||||||
|
'color_help' => 'Note: the primary color is also used in the client portal and custom email designs.',
|
||||||
|
|
||||||
|
'token_expired' => 'Validation token was expired. Please try again.',
|
||||||
|
'invoice_link' => 'Invoice Link',
|
||||||
|
'button_confirmation_message' => 'Click to confirm your email address.',
|
||||||
|
'confirm' => 'Confirm',
|
||||||
|
'email_preferences' => 'Email Preferences',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -1,25 +1,29 @@
|
|||||||
<!DOCTYPE html>
|
@extends('emails.master_user')
|
||||||
<html lang="{{ App::getLocale() }}">
|
|
||||||
<head>
|
@section('markup')
|
||||||
<meta charset="utf-8">
|
@if (!$invitationMessage)
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
@if (!$invitationMessage)
|
|
||||||
@include('emails.confirm_action', ['user' => $user])
|
@include('emails.confirm_action', ['user' => $user])
|
||||||
@endif
|
@endif
|
||||||
|
@stop
|
||||||
<h1>{{ trans('texts.confirmation_header') }}</h1>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
{{ $invitationMessage . trans('texts.confirmation_message') }}<br/>
|
|
||||||
<a href='{!! URL::to("user/confirm/{$user->confirmation_code}") !!}'>
|
|
||||||
{!! URL::to("user/confirm/{$user->confirmation_code}")!!}
|
|
||||||
</a>
|
|
||||||
<p/>
|
|
||||||
|
|
||||||
|
@section('body')
|
||||||
|
<h2>{{ trans('texts.confirmation_header') }}</h2>
|
||||||
|
<div>
|
||||||
|
{{ $invitationMessage . trans('texts.button_confirmation_message') }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<center>
|
||||||
|
@include('partials.email_button', [
|
||||||
|
'link' => URL::to("user/confirm/{$user->confirmation_code}"),
|
||||||
|
'field' => 'confirm',
|
||||||
|
'color' => '#36c157',
|
||||||
|
])
|
||||||
|
</center>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
{{ trans('texts.email_signature') }}<br/>
|
{{ trans('texts.email_signature') }}<br/>
|
||||||
{{ trans('texts.email_from') }}
|
{{ trans('texts.email_from') }}
|
||||||
</p>
|
</div>
|
||||||
|
@stop
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,5 +1,11 @@
|
|||||||
@extends('emails.master')
|
@extends('emails.master')
|
||||||
|
|
||||||
|
@section('markup')
|
||||||
|
@if ($account->enable_email_markup)
|
||||||
|
@include('emails.partials.client_view_action')
|
||||||
|
@endif
|
||||||
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#F4F5F5" style="border-collapse: collapse;"> </td>
|
<td bgcolor="#F4F5F5" style="border-collapse: collapse;"> </td>
|
||||||
@ -44,3 +50,20 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
|
@section('footer')
|
||||||
|
<p style="color: #A7A6A6; font-size: 13px; line-height: 18px; margin: 0 0 7px; padding: 0;">
|
||||||
|
{{ $account->address1 }}
|
||||||
|
@if ($account->address1 && $account->getCityState())
|
||||||
|
-
|
||||||
|
@endif
|
||||||
|
{{ $account->getCityState() }}
|
||||||
|
@if ($account->address1 || $account->getCityState())
|
||||||
|
<br />
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if ($account->website)
|
||||||
|
<strong><a href="{{ $account->present()->website }}" style="color: #A7A6A6; text-decoration: none; font-weight: bold; font-size: 10px;">{{ $account->website }}</a></strong>
|
||||||
|
@endif
|
||||||
|
</p>
|
||||||
|
@stop
|
@ -1,5 +1,11 @@
|
|||||||
@extends('emails.master')
|
@extends('emails.master')
|
||||||
|
|
||||||
|
@section('markup')
|
||||||
|
@if ($account->enable_email_markup)
|
||||||
|
@include('emails.partials.client_view_action')
|
||||||
|
@endif
|
||||||
|
@stop
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#F4F5F5" style="border-collapse: collapse;"> </td>
|
<td bgcolor="#F4F5F5" style="border-collapse: collapse;"> </td>
|
||||||
@ -44,3 +50,20 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
|
@section('footer')
|
||||||
|
<p style="color: #A7A6A6; font-size: 13px; line-height: 18px; margin: 0 0 7px; padding: 0;">
|
||||||
|
{{ $account->address1 }}
|
||||||
|
@if ($account->address1 && $account->getCityState())
|
||||||
|
-
|
||||||
|
@endif
|
||||||
|
{{ $account->getCityState() }}
|
||||||
|
@if ($account->address1 || $account->getCityState())
|
||||||
|
<br />
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if ($account->website)
|
||||||
|
<strong><a href="{{ $account->present()->website }}" style="color: #A7A6A6; text-decoration: none; font-weight: bold; font-size: 10px;">{{ $account->website }}</a></strong>
|
||||||
|
@endif
|
||||||
|
</p>
|
||||||
|
@stop
|
@ -1,17 +1,20 @@
|
|||||||
<!DOCTYPE html>
|
@extends('emails.master_user')
|
||||||
<html lang="{{ App::getLocale() }}">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
{{ trans('texts.email_salutation', ['name' => $userName]) }} <p/>
|
|
||||||
|
|
||||||
{{ trans("texts.notification_{$entityType}_bounced", ['contact' => $contactName, 'invoice' => $invoiceNumber]) }} <p/>
|
|
||||||
|
|
||||||
{{ $emailError }}<p/>
|
|
||||||
|
|
||||||
|
@section('body')
|
||||||
|
<div>
|
||||||
|
{{ trans('texts.email_salutation', ['name' => $userName]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
{{ trans("texts.notification_{$entityType}_bounced", ['contact' => $contactName, 'invoice' => $invoiceNumber]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
{{ $emailError }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
{{ trans('texts.email_signature') }} <br/>
|
{{ trans('texts.email_signature') }} <br/>
|
||||||
{{ trans('texts.email_from') }} <p/>
|
{{ trans('texts.email_from') }}
|
||||||
|
</div>
|
||||||
</body>
|
@stop
|
||||||
</html>
|
|
@ -1,23 +1,32 @@
|
|||||||
<!DOCTYPE html>
|
@extends('emails.master_user')
|
||||||
<html lang="{{ App::getLocale() }}">
|
|
||||||
<head>
|
@section('markup')
|
||||||
<meta charset="utf-8">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
@if ($account->enable_email_markup)
|
@if ($account->enable_email_markup)
|
||||||
@include('emails.partials.user_view_action')
|
@include('emails.partials.user_view_action')
|
||||||
@endif
|
@endif
|
||||||
{{ trans('texts.email_salutation', ['name' => $userName]) }} <p/>
|
@stop
|
||||||
|
|
||||||
{{ trans("texts.notification_{$entityType}_paid", ['amount' => $paymentAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} <p/>
|
|
||||||
|
|
||||||
{{ trans("texts.{$entityType}_link_message") }} <br/>
|
|
||||||
<a href="{{ $invoiceLink }}">{{ $invoiceLink }}</a><p/>
|
|
||||||
|
|
||||||
|
@section('body')
|
||||||
|
<div>
|
||||||
|
{{ trans('texts.email_salutation', ['name' => $userName]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
{{ trans("texts.notification_{$entityType}_paid", ['amount' => $paymentAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<center>
|
||||||
|
@include('partials.email_button', [
|
||||||
|
'link' => $invoiceLink,
|
||||||
|
'field' => "view_{$entityType}",
|
||||||
|
'color' => '#0b4d78',
|
||||||
|
])
|
||||||
|
</center>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
{{ trans('texts.email_signature') }} <br/>
|
{{ trans('texts.email_signature') }} <br/>
|
||||||
{{ trans('texts.email_from') }} <p/>
|
{{ trans('texts.email_from') }}
|
||||||
{{ trans('texts.user_email_footer') }} <p/>
|
</div>
|
||||||
|
@stop
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,20 +1,32 @@
|
|||||||
<!DOCTYPE html>
|
@extends('emails.master_user')
|
||||||
<html lang="{{ App::getLocale() }}">
|
|
||||||
<head>
|
@section('markup')
|
||||||
<meta charset="utf-8">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
@if ($account->enable_email_markup)
|
@if ($account->enable_email_markup)
|
||||||
@include('emails.partials.user_view_action')
|
@include('emails.partials.user_view_action')
|
||||||
@endif
|
@endif
|
||||||
{{ trans('texts.email_salutation', ['name' => $userName]) }} <p/>
|
@stop
|
||||||
|
|
||||||
{{ trans("texts.notification_{$entityType}_sent", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} <p/>
|
|
||||||
|
|
||||||
|
@section('body')
|
||||||
|
<div>
|
||||||
|
{{ trans('texts.email_salutation', ['name' => $userName]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
{{ trans("texts.notification_{$entityType}_sent", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<center>
|
||||||
|
@include('partials.email_button', [
|
||||||
|
'link' => $invoiceLink,
|
||||||
|
'field' => "view_{$entityType}",
|
||||||
|
'color' => '#0b4d78',
|
||||||
|
])
|
||||||
|
</center>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
{{ trans('texts.email_signature') }} <br/>
|
{{ trans('texts.email_signature') }} <br/>
|
||||||
{{ trans('texts.email_from') }} <p/>
|
{{ trans('texts.email_from') }}
|
||||||
|
</div>
|
||||||
{{ trans('texts.user_email_footer') }} <p/>
|
@stop
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,20 +1,32 @@
|
|||||||
<!DOCTYPE html>
|
@extends('emails.master_user')
|
||||||
<html lang="{{ App::getLocale() }}">
|
|
||||||
<head>
|
@section('markup')
|
||||||
<meta charset="utf-8">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
@if ($account->enable_email_markup)
|
@if ($account->enable_email_markup)
|
||||||
@include('emails.partials.user_view_action')
|
@include('emails.partials.user_view_action')
|
||||||
@endif
|
@endif
|
||||||
{{ trans('texts.email_salutation', ['name' => $userName]) }} <p/>
|
@stop
|
||||||
|
|
||||||
{{ trans("texts.notification_{$entityType}_viewed", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} <p/>
|
|
||||||
|
|
||||||
|
@section('body')
|
||||||
|
<div>
|
||||||
|
{{ trans('texts.email_salutation', ['name' => $userName]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
{{ trans("texts.notification_{$entityType}_viewed", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<center>
|
||||||
|
@include('partials.email_button', [
|
||||||
|
'link' => $invoiceLink,
|
||||||
|
'field' => "view_{$entityType}",
|
||||||
|
'color' => '#0b4d78',
|
||||||
|
])
|
||||||
|
</center>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
{{ trans('texts.email_signature') }} <br/>
|
{{ trans('texts.email_signature') }} <br/>
|
||||||
{{ trans('texts.email_from') }} <p/>
|
{{ trans('texts.email_from') }}
|
||||||
|
</div>
|
||||||
{{ trans('texts.user_email_footer') }} <p/>
|
@stop
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,18 +1,20 @@
|
|||||||
<!DOCTYPE html>
|
@extends('emails.master_user')
|
||||||
<html lang="{{ App::getLocale() }}">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
{{ $client }},<p/>
|
|
||||||
|
|
||||||
{{ trans('texts.payment_message', ['amount' => $amount]) }}<p/>
|
|
||||||
|
|
||||||
{{ $license }}<p/>
|
|
||||||
|
|
||||||
|
@section('body')
|
||||||
|
<div>
|
||||||
|
{{ $client }},
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
{{ trans('texts.payment_message', ['amount' => $amount]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
{{ $license }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
{{ trans('texts.email_signature') }}<br/>
|
{{ trans('texts.email_signature') }}<br/>
|
||||||
{{ $account }}
|
{{ trans('texts.email_from') }}
|
||||||
|
</div>
|
||||||
</body>
|
@stop
|
||||||
</html>
|
|
@ -6,9 +6,7 @@
|
|||||||
|
|
||||||
<body style="min-height: 700px; color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; -webkit-text-size-adjust: none; -ms-text-size-adjust: none; background: #F4F5F5; margin: 0; padding: 0;"
|
<body style="min-height: 700px; color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; -webkit-text-size-adjust: none; -ms-text-size-adjust: none; background: #F4F5F5; margin: 0; padding: 0;"
|
||||||
alink="#FF0000" link="#FF0000" bgcolor="#F4F5F5" text="#000000" yahoo="fix">
|
alink="#FF0000" link="#FF0000" bgcolor="#F4F5F5" text="#000000" yahoo="fix">
|
||||||
@if ($account->enable_email_markup)
|
@yield('markup')
|
||||||
@include('emails.partials.client_view_action')
|
|
||||||
@endif
|
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.footer a:visited {
|
.footer a:visited {
|
||||||
@ -60,20 +58,7 @@
|
|||||||
<tr class="footer" style="text-align: center; color: #a7a6a6;" align="center">
|
<tr class="footer" style="text-align: center; color: #a7a6a6;" align="center">
|
||||||
<td bgcolor="#F4F5F5"
|
<td bgcolor="#F4F5F5"
|
||||||
style="border-collapse: collapse; padding-top: 32px;">
|
style="border-collapse: collapse; padding-top: 32px;">
|
||||||
<p style="color: #A7A6A6; font-size: 13px; line-height: 18px; margin: 0 0 7px; padding: 0;">
|
@yield('footer')
|
||||||
{{ $account->address1 }}
|
|
||||||
@if ($account->address1 && $account->getCityState())
|
|
||||||
-
|
|
||||||
@endif
|
|
||||||
{{ $account->getCityState() }}
|
|
||||||
@if ($account->address1 || $account->getCityState())
|
|
||||||
<br />
|
|
||||||
@endif
|
|
||||||
|
|
||||||
@if ($account->website)
|
|
||||||
<strong><a href="{{ $account->present()->website }}" style="color: #A7A6A6; text-decoration: none; font-weight: bold; font-size: 10px;">{{ $account->website }}</a></strong>
|
|
||||||
@endif
|
|
||||||
</p>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
38
resources/views/emails/master_user.blade.php
Normal file
38
resources/views/emails/master_user.blade.php
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
@extends('emails.master')
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<tr>
|
||||||
|
<td bgcolor="#F4F5F5" style="border-collapse: collapse;"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse;">
|
||||||
|
<table cellpadding="10" cellspacing="0" border="0" bgcolor="#2F2C2B" width="600" align="center" class="header">
|
||||||
|
<tr>
|
||||||
|
<td class="logo" style="border-collapse: collapse; vertical-align: middle; padding-left:34px; padding-top:20px; padding-bottom:12px" valign="middle">
|
||||||
|
<img src="{{ $message->embed(asset('images/emails/logo.png')) }}" alt="github" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="content" style="border-collapse: collapse;">
|
||||||
|
<div style="font-size: 18px; margin: 42px 40px 42px; padding: 0;">
|
||||||
|
@yield('body')
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
@stop
|
||||||
|
|
||||||
|
@section('footer')
|
||||||
|
<p style="color: #A7A6A6; font-size: 13px; line-height: 18px; margin: 0 0 7px; padding: 0;">
|
||||||
|
<a href="{{ SOCIAL_LINK_FACEBOOK }}" style="color: #A7A6A6; text-decoration: none; font-weight: bold; font-size: 10px;"><img src="{{ $message->embed(asset('images/emails/icon-facebook.png')) }}" alt="facebook" /></a>
|
||||||
|
<a href="{{ SOCIAL_LINK_TWITTER }}" style="color: #A7A6A6; text-decoration: none; font-weight: bold; font-size: 10px;"><img src="{{ $message->embed(asset('images/emails/icon-twitter.png')) }}" alt="twitter" /></a>
|
||||||
|
<a href="{{ SOCIAL_LINK_GITHUB }}" style="color: #A7A6A6; text-decoration: none; font-weight: bold; font-size: 10px;"><img src="{{ $message->embed(asset('images/emails/icon-github.png')) }}" alt="github" /></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p style="color: #A7A6A6; font-size: 13px; line-height: 18px; margin: 0 0 7px; padding: 0;">
|
||||||
|
© {{ date('Y') }} {{ CONTACT_NAME }}<br />
|
||||||
|
<strong><a href="{{ URL::to('/settings/notifications') }}" style="color: #A7A6A6; text-decoration: none; font-weight: bold; font-size: 10px;">{{ strtoupper(trans('texts.email_preferences')) }}</a></strong>
|
||||||
|
</p>
|
||||||
|
@stop
|
@ -1,20 +1,32 @@
|
|||||||
<!DOCTYPE html>
|
@extends('emails.master_user')
|
||||||
<html lang="{{ App::getLocale() }}">
|
|
||||||
<head>
|
@section('markup')
|
||||||
<meta charset="utf-8">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
@if ($account->enable_email_markup)
|
@if ($account->enable_email_markup)
|
||||||
@include('emails.partials.user_view_action')
|
@include('emails.partials.user_view_action')
|
||||||
@endif
|
@endif
|
||||||
{{ trans('texts.email_salutation', ['name' => $userName]) }} <p/>
|
@stop
|
||||||
|
|
||||||
{{ trans("texts.notification_quote_approved", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} <p/>
|
|
||||||
|
|
||||||
|
@section('body')
|
||||||
|
<div>
|
||||||
|
{{ trans('texts.email_salutation', ['name' => $userName]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
{{ trans("texts.notification_quote_approved", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<center>
|
||||||
|
@include('partials.email_button', [
|
||||||
|
'link' => $invoiceLink,
|
||||||
|
'field' => "view_{$entityType}",
|
||||||
|
'color' => '#0b4d78',
|
||||||
|
])
|
||||||
|
</center>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
{{ trans('texts.email_signature') }} <br/>
|
{{ trans('texts.email_signature') }} <br/>
|
||||||
{{ trans('texts.email_from') }} <p/>
|
{{ trans('texts.email_from') }}
|
||||||
|
</div>
|
||||||
{{ trans('texts.user_email_footer') }} <p/>
|
@stop
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
x
Reference in New Issue
Block a user