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();
|
||||
$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)
|
||||
|
@ -437,6 +437,10 @@ if (!defined('CONTACT_EMAIL')) {
|
||||
define('NINJA_VERSION', '2.4.7');
|
||||
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('RELEASES_URL', 'https://trello.com/b/63BbiVVe/invoice-ninja');
|
||||
define('ZAPIER_URL', 'https://zapier.com/zapbook/invoice-ninja');
|
||||
|
@ -209,7 +209,6 @@ class ContactMailer extends Mailer
|
||||
}
|
||||
|
||||
$data = [
|
||||
'account' => trans('texts.email_from'),
|
||||
'client' => $name,
|
||||
'amount' => Utils::formatMoney($amount, DEFAULT_CURRENCY, DEFAULT_COUNTRY),
|
||||
'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',
|
||||
'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',
|
||||
'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_from' => 'The Invoice Ninja Team',
|
||||
'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_sent_subject' => 'Invoice :invoice was sent to :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.',
|
||||
'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',
|
||||
'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',
|
||||
'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',
|
||||
|
||||
|
||||
);
|
||||
|
@ -942,5 +942,34 @@ return array(
|
||||
'publishable_key' => 'Publishable Key',
|
||||
'secret_key' => 'Secret Key',
|
||||
'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',
|
||||
'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',
|
||||
|
||||
|
||||
);
|
||||
|
@ -944,5 +944,34 @@ return array(
|
||||
'publishable_key' => 'Publishable Key',
|
||||
'secret_key' => 'Secret Key',
|
||||
'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',
|
||||
|
||||
|
||||
);
|
||||
|
@ -951,6 +951,35 @@ return array(
|
||||
'publishable_key' => 'Publishable Key',
|
||||
'secret_key' => 'Secret Key',
|
||||
'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',
|
||||
'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,5 +945,33 @@ return array(
|
||||
'publishable_key' => 'Publishable Key',
|
||||
'secret_key' => 'Secret Key',
|
||||
'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',
|
||||
'secret_key' => 'Secret Key',
|
||||
'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_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_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
|
||||
'secure_payment' => 'Säker betalning',
|
||||
@ -300,7 +299,7 @@ return array(
|
||||
|
||||
'logout' => 'Logga ut',
|
||||
'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',
|
||||
'email_taken' => 'E-postadressen är redan registrerad',
|
||||
'working' => 'Jobbar',
|
||||
@ -419,7 +418,7 @@ return array(
|
||||
'active' => 'Aktiv',
|
||||
'pending' => 'Avvaktar',
|
||||
'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_quote' => 'Är du säker på att du vill maila denna offerten?',
|
||||
@ -486,7 +485,7 @@ return array(
|
||||
'restored_client' => 'Kund återställd',
|
||||
'restored_payment' => 'betalning återställd',
|
||||
'restored_credit' => 'Kreditfaktura återställd',
|
||||
|
||||
|
||||
'reason_for_canceling' => 'Hjälp oss bli bättre genom att berätta varför du lämnar oss.',
|
||||
'discount_percent' => 'Procent',
|
||||
'discount_amount' => 'Summa',
|
||||
@ -601,7 +600,7 @@ return array(
|
||||
'view_documentation' => 'View Documentation',
|
||||
'app_title' => 'Free Open-Source Online Invoicing',
|
||||
'app_description' => 'Invoice Ninja is a free, open-source solution for invoicing and billing customers. With Invoice Ninja, you can easily build and send beautiful invoices from any device that has access to the web. Your clients can print your invoices, download them as pdf files, and even pay you online from within the system.',
|
||||
|
||||
|
||||
'rows' => 'rows',
|
||||
'www' => 'www',
|
||||
'logo' => 'Logo',
|
||||
@ -671,7 +670,7 @@ return array(
|
||||
'payment_type_dwolla' => 'Dwolla',
|
||||
'gateway_help_43' => ':link to sign up for Dwolla.',
|
||||
'partial_value' => 'Must be greater than zero and less than the total',
|
||||
'more_actions' => 'More Actions',
|
||||
'more_actions' => 'More Actions',
|
||||
|
||||
'pro_plan_title' => 'NINJA PRO',
|
||||
'pro_plan_call_to_action' => 'Upgrade Now!',
|
||||
@ -737,7 +736,7 @@ return array(
|
||||
'recent_payments' => 'Recent Payments',
|
||||
'outstanding' => 'Outstanding',
|
||||
'manage_companies' => 'Manage Companies',
|
||||
'total_revenue' => 'Total Revenue',
|
||||
'total_revenue' => 'Total Revenue',
|
||||
|
||||
'current_user' => 'Current User',
|
||||
'new_recurring_invoice' => 'New Recurring Invoice',
|
||||
@ -763,7 +762,7 @@ return array(
|
||||
'status_partial' => 'Partial',
|
||||
'status_paid' => 'Paid',
|
||||
'show_line_item_tax' => 'Display <b>line item taxes</b> inline',
|
||||
|
||||
|
||||
'iframe_url' => 'Website',
|
||||
'iframe_url_help1' => 'Copy the following code to a page on your site.',
|
||||
'iframe_url_help2' => 'You can test the feature by clicking \'View as recipient\' for an invoice.',
|
||||
@ -887,7 +886,7 @@ return array(
|
||||
'default_invoice_footer' => 'Default Invoice Footer',
|
||||
'quote_footer' => 'Quote Footer',
|
||||
'free' => 'Free',
|
||||
|
||||
|
||||
'quote_is_approved' => 'This quote is approved',
|
||||
'apply_credit' => 'Apply Credit',
|
||||
'system_settings' => 'System Settings',
|
||||
@ -948,5 +947,32 @@ return array(
|
||||
'secret_key' => 'Secret Key',
|
||||
'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>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
@if (!$invitationMessage)
|
||||
@include('emails.confirm_action', ['user' => $user])
|
||||
@endif
|
||||
@extends('emails.master_user')
|
||||
|
||||
<h1>{{ trans('texts.confirmation_header') }}</h1>
|
||||
@section('markup')
|
||||
@if (!$invitationMessage)
|
||||
@include('emails.confirm_action', ['user' => $user])
|
||||
@endif
|
||||
@stop
|
||||
|
||||
<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/>
|
||||
|
||||
{{ trans('texts.email_signature') }}<br/>
|
||||
{{ trans('texts.email_from') }}
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@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_from') }}
|
||||
</div>
|
||||
@stop
|
@ -1,5 +1,11 @@
|
||||
@extends('emails.master')
|
||||
|
||||
@section('markup')
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.client_view_action')
|
||||
@endif
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<tr>
|
||||
<td bgcolor="#F4F5F5" style="border-collapse: collapse;"> </td>
|
||||
@ -43,4 +49,21 @@
|
||||
<div style="font-size: 18px; margin: 42px 40px 42px; padding: 0;">{!! $body !!}</div>
|
||||
</td>
|
||||
</tr>
|
||||
@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')
|
||||
|
||||
@section('markup')
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.client_view_action')
|
||||
@endif
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<tr>
|
||||
<td bgcolor="#F4F5F5" style="border-collapse: collapse;"> </td>
|
||||
@ -43,4 +49,21 @@
|
||||
<div style="font-size: 18px; margin: 42px 40px 42px; padding: 0;">{!! $body !!}</div>
|
||||
</td>
|
||||
</tr>
|
||||
@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>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
{{ trans('texts.email_salutation', ['name' => $userName]) }} <p/>
|
||||
@extends('emails.master_user')
|
||||
|
||||
{{ trans("texts.notification_{$entityType}_bounced", ['contact' => $contactName, 'invoice' => $invoiceNumber]) }} <p/>
|
||||
|
||||
{{ $emailError }}<p/>
|
||||
|
||||
{{ trans('texts.email_signature') }} <br/>
|
||||
{{ trans('texts.email_from') }} <p/>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@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_from') }}
|
||||
</div>
|
||||
@stop
|
@ -1,23 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.user_view_action')
|
||||
@endif
|
||||
{{ trans('texts.email_salutation', ['name' => $userName]) }} <p/>
|
||||
@extends('emails.master_user')
|
||||
|
||||
{{ trans("texts.notification_{$entityType}_paid", ['amount' => $paymentAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} <p/>
|
||||
@section('markup')
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.user_view_action')
|
||||
@endif
|
||||
@stop
|
||||
|
||||
{{ trans("texts.{$entityType}_link_message") }} <br/>
|
||||
<a href="{{ $invoiceLink }}">{{ $invoiceLink }}</a><p/>
|
||||
|
||||
{{ trans('texts.email_signature') }} <br/>
|
||||
{{ trans('texts.email_from') }} <p/>
|
||||
{{ trans('texts.user_email_footer') }} <p/>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@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_from') }}
|
||||
</div>
|
||||
@stop
|
@ -1,20 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.user_view_action')
|
||||
@endif
|
||||
{{ trans('texts.email_salutation', ['name' => $userName]) }} <p/>
|
||||
@extends('emails.master_user')
|
||||
|
||||
{{ trans("texts.notification_{$entityType}_sent", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} <p/>
|
||||
@section('markup')
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.user_view_action')
|
||||
@endif
|
||||
@stop
|
||||
|
||||
{{ trans('texts.email_signature') }} <br/>
|
||||
{{ trans('texts.email_from') }} <p/>
|
||||
|
||||
{{ trans('texts.user_email_footer') }} <p/>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@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_from') }}
|
||||
</div>
|
||||
@stop
|
@ -1,20 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.user_view_action')
|
||||
@endif
|
||||
{{ trans('texts.email_salutation', ['name' => $userName]) }} <p/>
|
||||
@extends('emails.master_user')
|
||||
|
||||
{{ trans("texts.notification_{$entityType}_viewed", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} <p/>
|
||||
@section('markup')
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.user_view_action')
|
||||
@endif
|
||||
@stop
|
||||
|
||||
{{ trans('texts.email_signature') }} <br/>
|
||||
{{ trans('texts.email_from') }} <p/>
|
||||
|
||||
{{ trans('texts.user_email_footer') }} <p/>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@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_from') }}
|
||||
</div>
|
||||
@stop
|
@ -1,18 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
@extends('emails.master_user')
|
||||
|
||||
{{ $client }},<p/>
|
||||
|
||||
{{ trans('texts.payment_message', ['amount' => $amount]) }}<p/>
|
||||
|
||||
{{ $license }}<p/>
|
||||
|
||||
{{ trans('texts.email_signature') }}<br/>
|
||||
{{ $account }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@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_from') }}
|
||||
</div>
|
||||
@stop
|
@ -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;"
|
||||
alink="#FF0000" link="#FF0000" bgcolor="#F4F5F5" text="#000000" yahoo="fix">
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.client_view_action')
|
||||
@endif
|
||||
@yield('markup')
|
||||
|
||||
<style type="text/css">
|
||||
.footer a:visited {
|
||||
@ -60,20 +58,7 @@
|
||||
<tr class="footer" style="text-align: center; color: #a7a6a6;" align="center">
|
||||
<td bgcolor="#F4F5F5"
|
||||
style="border-collapse: collapse; padding-top: 32px;">
|
||||
<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>
|
||||
@yield('footer')
|
||||
</td>
|
||||
</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>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.user_view_action')
|
||||
@endif
|
||||
{{ trans('texts.email_salutation', ['name' => $userName]) }} <p/>
|
||||
@extends('emails.master_user')
|
||||
|
||||
{{ trans("texts.notification_quote_approved", ['amount' => $invoiceAmount, 'client' => $clientName, 'invoice' => $invoiceNumber]) }} <p/>
|
||||
@section('markup')
|
||||
@if ($account->enable_email_markup)
|
||||
@include('emails.partials.user_view_action')
|
||||
@endif
|
||||
@stop
|
||||
|
||||
{{ trans('texts.email_signature') }} <br/>
|
||||
{{ trans('texts.email_from') }} <p/>
|
||||
|
||||
{{ trans('texts.user_email_footer') }} <p/>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@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_from') }}
|
||||
</div>
|
||||
@stop
|
Loading…
x
Reference in New Issue
Block a user