\App\Http\ModelsInvoiceItem

Class InvoiceItem Model for individual items.

Summary

Methods
Properties
Constants
invoice()
scopeProductsSold()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

invoice()

invoice() : \Illuminate\Database\Eloquent\Relations\BelongsTo

TODO: remove unused method.

Returns

\Illuminate\Database\Eloquent\Relations\BelongsTo

scopeProductsSold()

scopeProductsSold(  $query,   $time) : mixed

Fetch number of products sold after $time.

Parameters

$query
$time

Returns

mixed