2017-03-31 17:02:56 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use Eloquent;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class Account.
|
|
|
|
*/
|
|
|
|
class AccountEmailSettings extends Eloquent
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $fillable = [
|
|
|
|
'bcc_email',
|
|
|
|
'reply_to_email',
|
|
|
|
'email_subject_invoice',
|
|
|
|
'email_subject_quote',
|
|
|
|
'email_subject_payment',
|
|
|
|
'email_template_invoice',
|
|
|
|
'email_template_quote',
|
|
|
|
'email_template_payment',
|
|
|
|
'email_subject_reminder1',
|
|
|
|
'email_subject_reminder2',
|
|
|
|
'email_subject_reminder3',
|
|
|
|
'email_template_reminder1',
|
|
|
|
'email_template_reminder2',
|
|
|
|
'email_template_reminder3',
|
2017-07-18 20:15:51 +02:00
|
|
|
'late_fee1_amount',
|
|
|
|
'late_fee1_percent',
|
|
|
|
'late_fee2_amount',
|
|
|
|
'late_fee2_percent',
|
|
|
|
'late_fee3_amount',
|
|
|
|
'late_fee3_percent',
|
2017-03-31 17:02:56 +02:00
|
|
|
];
|
|
|
|
|
2017-09-02 21:03:45 +02:00
|
|
|
public static $templates = [
|
|
|
|
TEMPLATE_INVOICE,
|
|
|
|
TEMPLATE_QUOTE,
|
2018-02-12 09:43:31 +01:00
|
|
|
TEMPLATE_PROPOSAL,
|
2017-09-02 21:03:45 +02:00
|
|
|
//TEMPLATE_PARTIAL,
|
|
|
|
TEMPLATE_PAYMENT,
|
|
|
|
TEMPLATE_REMINDER1,
|
|
|
|
TEMPLATE_REMINDER2,
|
|
|
|
TEMPLATE_REMINDER3,
|
2017-12-25 20:46:59 +01:00
|
|
|
TEMPLATE_REMINDER4,
|
2017-09-02 21:03:45 +02:00
|
|
|
];
|
|
|
|
|
2017-03-31 17:02:56 +02:00
|
|
|
}
|