File Manager Lite
Dir:
/home/u540325668/domains/sostabazar.in/public_html/websites/sonarSonsar/app/Models
Upload
[..]
Loanprovide.php (370 B)
Edit
Rename
Del
Loanrepayment.php (404 B)
Edit
Rename
Del
Onlineorder.php (851 B)
Edit
Rename
Del
Othersexpence.php (297 B)
Edit
Rename
Del
Othersincome.php (293 B)
Edit
Rename
Del
Productbook.php (397 B)
Edit
Rename
Del
Productbookrefund.php (403 B)
Edit
Rename
Del
Productbookrepayment.php (448 B)
Edit
Rename
Del
Productprovide.php (285 B)
Edit
Rename
Del
Productrepayment.php (411 B)
Edit
Rename
Del
Edit: Onlineorder.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Onlineorder extends Model { use HasFactory; protected $table = 'onlineorders'; protected $fillable = [ 'user_id', 'mobileNumber', 'transctionId', 'amount', 'feeAmount', 'status', // Subscription fields 'order_type', 'plan_id', 'months', 'price_per_month', 'subscription_start', 'subscription_end', 'invoice_number', ]; protected $dates = [ 'subscription_start', 'subscription_end', ]; public function plan() { return $this->belongsTo(Plan::class); } public function user() { return $this->belongsTo(User::class); } }
Simpan