https://t.me/RX1948
Server : Apache/2.4.18 (Ubuntu)
System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64
User : oppastar ( 1041)
PHP Version : 7.0.33-0ubuntu0.16.04.15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Directory :  /var/www/angkasapuraretail.com/public_html/application/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/angkasapuraretail.com/public_html/application/views/customer_excel.php
<h4>Data Customers</h4>
<table border="1" cellpadding="8">
<tr>
  <th>ID Customers</th>
  <th>Name</th>
  <th>Email</th>
  <th>Address</th>
  <th>Handphone</th>
  <th>Phone</th>
  <th>Join Date</th>
  <th>Type</th>
  <th>NPWP</th>
  <th>NPWP Address</th>
  <th>Company Name</th>
  <th>Business Type</th>
  <th>Email Finance</th>
  <th>Sales ID</th>

  <th>custaccount</th>
  <th>contactpersonid</th>
  <th>salespoolid</th>
  <th>segment</th>
  <th>subsegment</th>
  <th>taxgroup</th>
  <th>IDLTaxNumberTypeId</th>
  <th>PwC_InvoiceAddrRecid</th>
  <th>payment</th>
  <th>PurchOrderFormNum</th>
  <th>CustomerRef</th>
</tr>
<?php
if( ! empty($customers)){ // Jika data pada database tidak sama dengan empty (alias ada datanya)
  foreach($customers as $item){ // Lakukan looping pada variabel siswa dari controller
    echo "<tr>";
    echo "<td>".$item->id_customers."</td>";
    echo "<td>".$item->name."</td>";
    echo "<td>".$item->email."</td>";
    echo "<td>".$item->address."</td>";
    echo "<td>".$item->handphone."</td>";
    echo "<td>".$item->phone."</td>";
    echo "<td>".$item->join_date."</td>";
    echo "<td>".$item->type."</td>";
    echo "<td>".$item->npwp."</td>";
    echo "<td>".$item->npwp_address."</td>";
    echo "<td>".$item->company_name."</td>";
    echo "<td>".$item->business_type."</td>";
    echo "<td>".$item->email_finance."</td>";
    echo "<td>".$item->sales_id."</td>";
    echo "<td>".$item->custaccount."</td>";
    echo "<td>".$item->contactpersonid."</td>";
    echo "<td>".$item->salespoolid."</td>";
    echo "<td>".$item->segment."</td>";
    echo "<td>".$item->subsegment."</td>";
    echo "<td>".$item->taxgroup."</td>";
    echo "<td>".$item->IDLTaxNumberTypeId."</td>";
    echo "<td>".$item->PwC_InvoiceAddrRecid."</td>";
    echo "<td>".$item->payment."</td>";
    echo "<td>".$item->PurchOrderFormNum."</td>";
    echo "<td>".$item->CustomerRef."</td>";
    echo "</tr>";
  }
}else{ // Jika data tidak ada
  echo "<tr><td colspan='3'>Data tidak ada</td></tr>";
}
?>
</table>

https://t.me/RX1948 - 2025