This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
include '../PHPReport.php';
$R=new PHPReport();
$R->load(array(
'id'=>'product',
'header'=>array(
'Product name','Price','Tax'
),
'footer'=>array(
'',28.54,17.89
),
'data'=>array(
array('Some product',23.99,12),
array('Other product',5.25,2.25),
array('Third product',0.20,3.5)
),
'format'=>array(
1=>array('number'=>array('prefix'=>'$','decimals'=>2)),
2=>array('number'=>array('sufix'=>' EUR','decimals'=>1))
)
)
);
echo $R->render();
exit();