Файловый менеджер - Редактировать - /home/easybachat/hisabat365.com/4a7891/Invoice.php.tar
Ðазад
home/easybachat/hisabat365.com/app/Invoice.php 0000664 00000001426 15060130221 0015106 0 ustar 00 <?php namespace App; use Illuminate\Database\Eloquent\Model; class Invoice extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'invoices'; public function invoice_items() { return $this->hasMany('App\InvoiceItem',"invoice_id"); } public function client() { return $this->belongsTo('App\Contact',"client_id")->withDefault(); } public function project() { return $this->belongsTo('App\Project',"related_id")->withDefault(); } public function company() { return $this->belongsTo('App\Company',"company_id")->withDefault(); } public function taxes() { return $this->hasMany('App\InvoiceItemTax',"invoice_id"); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка