April 2026 waren Wirtschaft Feedback
This commit is contained in:
parent
02f2a4c23e
commit
9ce711d6b2
167 changed files with 25278 additions and 8518 deletions
|
|
@ -11,7 +11,7 @@ use Illuminate\Database\Eloquent\Model;
|
|||
|
||||
/**
|
||||
* Class PaymentReminder
|
||||
*
|
||||
*
|
||||
* @property int $id
|
||||
* @property string|null $title
|
||||
* @property int|null $interval
|
||||
|
|
@ -20,38 +20,56 @@ use Illuminate\Database\Eloquent\Model;
|
|||
* @property bool $active
|
||||
* @property Carbon|null $created_at
|
||||
* @property Carbon|null $updated_at
|
||||
* @property string|null $subject
|
||||
* @property string|null $clearingtype
|
||||
*
|
||||
* @package App\Models
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder whereAction($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder whereActive($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder whereClearingtype($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder whereCreatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder whereId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder whereInterval($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder whereMessage($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder whereSubject($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder whereTitle($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|PaymentReminder whereUpdatedAt($value)
|
||||
*
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class PaymentReminder extends Model
|
||||
{
|
||||
protected $table = 'payment_reminders';
|
||||
protected $table = 'payment_reminders';
|
||||
|
||||
protected $casts = [
|
||||
'interval' => 'int',
|
||||
'active' => 'bool'
|
||||
];
|
||||
protected $casts = [
|
||||
'interval' => 'int',
|
||||
'active' => 'bool',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'title',
|
||||
'subject',
|
||||
'interval',
|
||||
'message',
|
||||
'action',
|
||||
'clearingtype',
|
||||
'active'
|
||||
];
|
||||
protected $fillable = [
|
||||
'title',
|
||||
'subject',
|
||||
'interval',
|
||||
'message',
|
||||
'action',
|
||||
'clearingtype',
|
||||
'active',
|
||||
];
|
||||
|
||||
protected static $clearingtypes = [
|
||||
protected static $clearingtypes = [
|
||||
'fnc' => 'Rechnung',
|
||||
'vor' => 'Vorkasse',
|
||||
];
|
||||
|
||||
public function getClearingtype(){
|
||||
return isset(self::$clearingtypes[$this->clearingtype]) ? self::$clearingtypes[$this->clearingtype] : 'Kein Typ';
|
||||
}
|
||||
public function getClearingtype()
|
||||
{
|
||||
return isset(self::$clearingtypes[$this->clearingtype]) ? self::$clearingtypes[$this->clearingtype] : 'Kein Typ';
|
||||
}
|
||||
|
||||
public static function returnClearingtypes(){
|
||||
return self::$clearingtypes;
|
||||
}
|
||||
public static function returnClearingtypes()
|
||||
{
|
||||
return self::$clearingtypes;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue