• File: PaymentService.php
  • Full Path: /var/www/imaliapi/app/PaymentService.php
  • Date Modified: 09/30/2025 8:37 PM
  • File size: 434 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace App;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class PaymentService extends Model
{
    use HasFactory;

    protected $fillable = [
        'name',
        'logo',
        'billing_rate',
        'status',
        'acronym',
        'unit_tax'
    ];

    public function getLogoAttribute($logo)
    {
        return $_ENV['IMG_DOCUMENTS_URL'] . $logo;
    }
}