list pending po pending approval

This commit is contained in:
omair saleh
2020-09-29 12:06:02 +08:00
parent c6ab6a04ec
commit bcc2c25805
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ class Invoice extends Model
protected $fillable = ['invoice_url','amount','booking_id', 'buyer_company', 'address', 'contact_no', 'po_number', 'adjustment'];
public function booking(){
return $this->belongsTo('App\Booking');
return $this->belongsTo(Booking::class);
}
public function invoiceDetails() {
+1 -1
View File
@@ -9,6 +9,6 @@ class InvoiceDetails extends Model
protected $fillable = ['invoice_id', 'order','description','quantity', 'stock_code', 'unit_price_rmb', 'unit_price_rm', 'total'];
public function invoice() {
return $this->belongsTo('App/Invoice');
return $this->belongsTo(Invoice::class);
}
}