• File: PaymentService.php
  • Full Path: /var/www/imaliapitest/app/PaymentService.php
  • Date Modified: 05/19/2025 4:29 PM
  • File size: 498 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',
        'color',
        'logo',
        'short_logo',
        'billing_rate',
        'status',
        'acronym',
        'instructions',
        'unit_tax'
    ];


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