-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreports.php
69 lines (62 loc) · 2.49 KB
/
reports.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
include('system_load.php');
//This loads system.
//user Authentication.
authenticate_user('admin');
$store_access = new StoreAccess;
if(partial_access('admin') || $store_access->have_module_access('reports')) {} else {
HEADER('LOCATION: store.php?message=products');
}
if(!isset($_SESSION['store_id']) || $_SESSION['store_id'] == '') {
HEADER('LOCATION: stores.php?message=1');
} //select company redirect ends here.
$page_title = "Reports"; //You can edit this to change your page title.
require_once("includes/header.php"); //including header file.
//display message if exist.
if(isset($message) && $message != '') {
echo '<div class="alert alert-success">';
echo $message;
echo '</div>';
}
?>
<div class="row">
<div class="col-md-3">
<div class="panel panel-info">
<div class="panel-heading">
<strong>Customers and Receiveables</strong>
</div>
<div style="padding:0px;" class="panel-body list-group">
<div class="list-group-item"><a href="reports/customer_balance_summary.php" target="_blank">Customer Balance Summary</a></div>
<div class="list-group-item"><a href="reports/customer_ledger_summary.php" target="_blank">Customer Balance Ledger</a></div>
</div>
</div>
</div>
<!--customers and receiveables-->
<div class="col-md-3">
<div class="panel panel-info">
<div class="panel-heading">
<strong>Vendor and payables</strong>
</div>
<div style="padding:0px;" class="panel-body list-group">
<div class="list-group-item"><a target="_blank" href="reports/vendor_balance_summary.php">Vendor Balance Summary</a></div>
<div class="list-group-item"><a href="reports/vendor_ledger_summary.php" target="_blank">Vendor Balance Ledger</a></div>
</div>
</div>
</div>
<!--customers and receiveables-->
<!--
<div class="col-md-3">
<div class="panel panel-info">
<div class="panel-heading">
<strong>Inventory</strong>
</div>
<div style="padding:0px;" class="panel-body list-group">
<div class="list-group-item"><a href="#">Customer Balance Summary</a></div>
</div>
</div>
</div>
<!--customers and receiveables-->
</div><!--row Ends here.-->
<?php
require_once("includes/footer.php");
?>