Файловый менеджер - Редактировать - /home/easybachat/hisabat365.com/app/Purchase.php
Ðазад
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Purchase extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'purchase_orders'; public function purchase_items() { return $this->hasMany('App\PurchaseOrderItem',"purchase_order_id"); } public function supplier() { return $this->belongsTo('App\Supplier',"supplier_id")->withDefault(); } public function tax() { return $this->belongsTo('App\Tax',"tax_id")->withDefault(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка