1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
invoiceninja/app/Models/AccountEmailSettings.php
2019-01-30 22:25:37 +11:00

51 lines
1.1 KiB
PHP

<?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',
'late_fee1_amount',
'late_fee1_percent',
'late_fee2_amount',
'late_fee2_percent',
'late_fee3_amount',
'late_fee3_percent',
];
public static $templates = [
TEMPLATE_INVOICE,
TEMPLATE_QUOTE,
TEMPLATE_PROPOSAL,
//TEMPLATE_PARTIAL,
TEMPLATE_PAYMENT,
TEMPLATE_REMINDER1,
TEMPLATE_REMINDER2,
TEMPLATE_REMINDER3,
TEMPLATE_REMINDER4,
];
}