forked from science-ation/science-ation
Oops use the right fields for type and stock
This commit is contained in:
parent
515a92dda7
commit
a69ad4ae71
@ -32,8 +32,9 @@
|
|||||||
|
|
||||||
if($reports_id > 0) {
|
if($reports_id > 0) {
|
||||||
$report = report_load($reports_id);
|
$report = report_load($reports_id);
|
||||||
echo $report['type']."\n";
|
print_r($report);
|
||||||
echo $report['stock']."\n";
|
echo $report['option']['type']."\n";
|
||||||
|
echo $report['option']['stock']."\n";
|
||||||
echo $report['desc']."\n";
|
echo $report['desc']."\n";
|
||||||
// echo json_encode($report);
|
// echo json_encode($report);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user