VaKeR CYBER ARMY
Logo of a company Server : Apache
System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User : vapecompany ( 2719)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/vapecompany/demo.vapecompany.com.bd/resources/views/backend/pdf/list/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/vapecompany/demo.vapecompany.com.bd/resources/views/backend/pdf/list/requisition.blade.php
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Sales Report</title>
    @include('backend.pdf.layouts.css')
</head>
<body >
@include('backend.pdf.layouts.report-header')
<main>
    <!-- <div id="details" class="clearfix">
        <div id="client"class="mt-10">
            <h2 class="name">Sales Report</h2>
            <div class="address">

            </div>
        </div>
    </div>
 -->

    <table class="table" width="100%" cellspacing="0">
        <thead>
            <tr class="bg-secondary" style="color:white;">
                <th style="color:white;">Requistion ID</th>
                <th style="color:white;">Requistion Code</th>
                <th style="color:white;"> Invoice Number</th>
                <th style="color:white;">Requisition Date</th>
                <th style="color:white;">Customer Type</th>
                <th style="color:white;">Customer Name</th>
                <th style="color:white;">Customer Address</th>
                <th style="color:white;">Region</th>
                <th style="color:white;">District</th>
                <th style="color:white;">Division</th>
                <th style="color:white;">Area</th>
                <th style="color:white;">Employee</th>
                <th style="color:white;"> Payment Mode</th>
                <th style="color:white;"> Bank</th>
                <th style="color:white;">Total quantity</th>
                <th style="color:white;"> Total Amount</th>
                <th style="color:white;"> Paid Amount</th>
                <th style="color:white;"> Total Incentive</th>
                <th style="color:white;"> Status</th>
            </tr>
        </thead>
        <tbody>
          @foreach($chalans as $damageStock)
        <tr>
           <td>{{$damageStock->requisition_id}}</td>
           <td>{{$damageStock->Requsition_code}}</td>
           <td>{{$damageStock->invoice_number}}</td>
           <td>{{$damageStock->requisition_date->format('d-m-Y')}}</td>

           <td>{{$damageStock->customer->type->customer_type_name}}</td>
           <td>{{$damageStock->customer->customer_name}}</td>
           <td>{{$damageStock->customer->customer_address}}</td>
           <td>{{$damageStock->customer->region ? $damageStock->customer->region->region_name : ''}}</td>
           <td>{{$damageStock->customer->division ? $damageStock->customer->division->division_name : ''}}</td>
           <td>{{$damageStock->customer->district ? $damageStock->customer->district->district_name : ''}}</td>
           <td>{{$damageStock->customer->area ? $damageStock->customer->area->area_name : ''}}</td>



           <td>{{$damageStock->employee ? $damageStock->employee->employee_name : ''}}</td>
           <td>
            @php
            if($damageStock->payment_mode == 1){
                $mode='Cash On Delivery';
            }elseif($damageStock->payment_mode == 2){
                $mode='Bank';
            }else{
                $mode='--';
            }
            @endphp
            {{$mode}}
         </td>
           <td>{{$damageStock->bank ? $damageStock->bank->bank_name.($damageStock->branch ? '('.$damageStock->branch->bank_branch_name.')' :'' ) : ''}}</td>
           <td>{{$damageStock->total_quantity}}</td>
           <td>{{number_format($damageStock->total_amount,2)}}</td>
           <td>{{number_format($damageStock->paid_amount,2)}}</td>
           <td>{{number_format($damageStock->total_incentive,2)}}</td>
           <td>
            @php
            if($damageStock->requistion_status == 0)
                $status='Draft';
            else if($damageStock->requistion_status == 1)
                $status='Pending';
            else if($damageStock->requistion_status == 2)
               $status='Requisition Approved';
            else if($damageStock->requistion_status == 3)
               $status='Accounts Approved';
            else if($damageStock->requistion_status == 4)
                $status='Delivered';
            else if($damageStock->requistion_status == 5)
                $status='Requisition Canceled';
            else
               $status='Accounts Rejected';
            @endphp
            {{$status}}
         </td>

       </tr>
       @endforeach
        </tbody>
    </table>


</main>
@include('backend.pdf.layouts.footer')
</body>
</html>

VaKeR 2022