Skip to content

PHPReport #23

@omar0555

Description

@omar0555

how display image from excel to html
$logo='<img src="upload/'.$checksetting[0]['logo'].'" height="100" "width="100" >';
$R->load(array(
array(
'id'=>'inv',

  'data'=>array('logocompany'=>$logo,'namecompany'=>$checksetting[0]['nameweb'],'taxcompany'=>$checksetting[0]['numtax'],'addresscompany'=>$checksetting[0]['title'],'phonecompany'=>$checksetting[0]['phone'],'countrycompany'=>$checksetting[0]['country'],'citycompany'=>$checksetting[0]['city'],'numinvoice'=>$res_sales[0]['id'],'date'=>$res_sales[0]['dateinter'],'time'=>$res_sales[0]['timeinter'],'name'=>$res_sales[0]['name_customer'],'numtax'=>$res_sales[0]['tax_customer'],'address'=>$res_sales[0]['title_customer'],'phone'=>$res_sales[0]['phone_customer'],'type'=>$res_sales[0]['deppay'],'user'=>$res_sales[0]['userid'],'branch'=>$res_sales[0]['branch']),
  'format'=>array(
      'date'=>array('datetime'=>'d/m/Y')
  )
  ),
array(
  'id'=>'prod',
  'repeat'=>true,
  'data'=>$products,
  'minRows'=>2,
  'format'=>array(
      'total'=>array('number'=>array('prefix'=>$currency,'decimals'=>2)),
      'totalall'=>array('number'=>array('prefix'=>$currency,'decimals'=>2))
    )
  ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions