Completed
Push — main ( 5397e3...31a6ce )
by Emmanuel
01:09
created

Queries::getOrdersOnDateRange()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 2
1
<?php
2
3
/**
4
 * Author: Emmanuel Paul Mnzava
5
 * Twitter: @epmnzava
6
 * Github: https://github.com/dbrax/bill-me
7
 * Email: [email protected]
8
 * 
9
 */
10
11
namespace Epmnzava\BillMe;
12
13
use Epmnzava\BillMe\Models\Order;
14
use Epmnzava\BillMe\Models\Invoice;
15
use Epmnzava\BillMe\Models\OrderItem;
16
use Epmnzava\BillMe\Mail\Client\Invoices\InvoiceCreated;
17
use Epmnzava\BillMe\Mail\Client\OrderReceived;
18
use Epmnzava\BillMe\Mail\Merchant\NewOrder;
19
20
use Mail;
21
22
class Queries extends Stats
23
{
24
25
    public function orders()
26
    {
27
28
        return Order::all();
29
    }
30
31
32
    public function orders_today()
33
    {
34
    }
35
36
    public function pending_orders(){
37
38
    }
39
40
    public function cancelled_orders(){
41
42
    }
43
44
    public function completed_orders(){
45
        
46
    }
47
48
    public function getOrderById($orderid){
0 ignored issues
show
Unused Code introduced by
The parameter $orderid is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
49
        
50
    }
51
52
    public function getOrdersOnDate($date){
0 ignored issues
show
Unused Code introduced by
The parameter $date is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
53
        
54
    }
55
56
    public function getOrdersOnDateRange($startdate,$enddate){
0 ignored issues
show
Unused Code introduced by
The parameter $startdate is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $enddate is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
57
        
58
    }
59
60
61
    public function getInvoiceById($invoiceid){
0 ignored issues
show
Unused Code introduced by
The parameter $invoiceid is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
62
        
63
    }
64
}
65