
<?php $__env->startPush('include-css'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('asset/css/main-report.css')); ?>">
<?php $__env->stopPush(); ?>
<?php $__env->startSection('title'); ?>
    <?php echo e(config('settings.company_name')); ?> -> <?php echo e($extra['module_name']); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="mid">
        <div class="col-md-12 col-sm-12 col-lg-12 col-xl-12">
            <br>
            <h2 class="text-center"><?php echo e(config('settings.company_name')); ?></h2>
            <h6 class="text-center"><?php echo e(config('settings.address_1')); ?></h6>
            <br>
            <h4 class="text-center"><?php echo e($extra['voucher_type']); ?></h4>
            <hr>
        </div>
    </div>
    <div class="mid mb-3">
        <div class="row">
            <div class="col-md-12 col-sm-12 col-lg-12 col-xl-12">
                <table class="table table-bordered table-sm">
                    <thead>
                        <tr>
                            <td class="text-right">Cari Berdasarkan:</td>
                            <td class="text-right">Cabang:</td>
                            <th><?php echo e($search_by['branch_name']); ?></th>
                        </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
    <div class="mid">
        <div class="row">
            <div class="col-md-12 col-sm-12 col-lg-12 col-xl-12">
                <table class="table table-bordered table-sm table-hover">
                    <thead>
                        <tr>
                            <th class="text-center">
                                <h5>Rincian </h5>
                            </th>
                            <th class="text-center">
                                <?php if($search_by['start_from'] != null): ?>
                                    <h5>Dari <?php echo e($search_by['start_from']); ?> Ke <?php echo e($search_by['start_to']); ?></h5>
                                <?php endif; ?>
                            </th>
                            <th class="text-center">
                                <?php if($search_by['end_from'] != null): ?>
                                    <h5>Dari <?php echo e($search_by['end_from']); ?> Ke <?php echo e($search_by['end_to']); ?></h5>
                                <?php endif; ?>
                            </th>
                        </tr>
                        <tr>
                            <th class="text-center" scope="col"></th>
                            <th class="text-right" scope="col"> <?php echo config('settings.is_code') == 'code' ? config('settings.currency_code') : config('settings.currency_symbol'); ?>
                            </th>
                            <th class="text-right" scope="col"> <?php echo config('settings.is_code') == 'code' ? config('settings.currency_code') : config('settings.currency_symbol'); ?>
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <!--
                        <tr>
                            <td class="text-left" scope="row"><?php echo e($particulars['OpeningConstructionMaterial']); ?></td>
                            <td scope="row" class=" text-right">0</td>
                            <td class="text-right">0</td>
                        </tr>
                        -->
                        <tr>
                            <td class="text-left" scope="row">
                                <?php echo e($particulars['ConstructionMaterialPurchases']['from_amount']['name']); ?></td>
                            <td scope="row" class=" text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ConstructionMaterialPurchases']['from_amount']['value'])); ?>

                            </td>
                            <td class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ConstructionMaterialPurchases']['end_amount']['value'])); ?>

                            </td>
                        </tr>
                        <!--
                        <tr>
                            <td class="text-left" scope="row"><?php echo e($particulars['MaterialAvailableForUsed']); ?></td>
                            <td scope="row" class=" text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ConstructionMaterialPurchases']['from_amount']['value'])); ?>

                            </td>
                            <td class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ConstructionMaterialPurchases']['end_amount']['value'])); ?>

                            </td>
                        </tr>
                        <tr>
                            <td class="text-left" scope="row"><?php echo e($particulars['ClosingConstructionMaterial']); ?></td>
                            <td scope="row" class=" text-right">0</td>
                            <td class="text-right">0</td>
                        </tr>
                        -->
                        <tr>
                            <th class="text-left" scope="row"><?php echo e($particulars['MaterialUsedDuringThePeriod']); ?></th>
                            <th scope="row" class=" text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ConstructionMaterialPurchases']['from_amount']['value'])); ?>

                            </th>
                            <th class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ConstructionMaterialPurchases']['end_amount']['value'])); ?>

                            </th>
                        </tr>
                        <tr>
                            <td class="text-left" scope="row">
                                <?php echo e($particulars['ConstructionLabourExpense']['from_amount']['name']); ?>

                            </td>
                            <td scope="row" class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ConstructionLabourExpense']['from_amount']['value'])); ?>

                            </td>
                            <td scope="row" class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ConstructionLabourExpense']['end_amount']['value'])); ?>

                            </td>
                        </tr>
                        <tr>
                            <td class="text-left" scope="row">
                                <?php echo e($particulars['ProjectApprovalExpenses']['from_amount']['name']); ?></td>
                            <td scope="row" class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ProjectApprovalExpenses']['from_amount']['value'])); ?>

                            </td>
                            <td scope="row" class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ProjectApprovalExpenses']['end_amount']['value'])); ?>

                            </td>
                        </tr>
                        <tr>
                            <td class="text-left" scope="row"><?php echo e($particulars['OtherExpense']['from_amount']['name']); ?>

                            </td>
                            <td scope="row" class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['OtherExpense']['from_amount']['value'])); ?>

                            </td>
                            <td scope="row" class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['OtherExpense']['end_amount']['value'])); ?>

                            </td>
                        </tr>
                        <tr>
                            <th class="text-left" scope="row"><?php echo e($particulars['TotalCostTransferredToWorkInProcess']); ?>

                            </th>
                            <th scope="row" class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ConstructionMaterialPurchases']['from_amount']['value'] + $particulars['ConstructionLabourExpense']['from_amount']['value'] + $particulars['ProjectApprovalExpenses']['from_amount']['value'] + $particulars['OtherExpense']['from_amount']['value'])); ?>

                            </th>
                            <th scope="row" class="text-right">
                                <?php echo e(Helper::convertMoneyFormat($particulars['ConstructionMaterialPurchases']['end_amount']['value'] + $particulars['ConstructionLabourExpense']['end_amount']['value'] + $particulars['ProjectApprovalExpenses']['end_amount']['value'] + $particulars['OtherExpense']['end_amount']['value'])); ?>

                            </th>
                        </tr>
                        <!--
                        <tr>
                            <td class="text-left" scope="row"><?php echo e($particulars['OpeningWorkInProcess']); ?></td>
                            <td scope="row" class="text-right">0</td>
                            <td scope="row" class="text-right">0</td>
                        </tr>
                        <tr>
                            <td class="text-left" scope="row"><?php echo e($particulars['ClosingWorkInProcess']); ?></td>
                            <td scope="row" class="text-right">0</td>
                            <td scope="row" class="text-right">0</td>
                        </tr>
                        -->
                        <tr>
                            <th class="text-left" scope="row">
                                <h4>Biaya Pendapatan </h4>
                            </th>
                            <th scope="row" class="text-right">
                                <h4><?php echo e(Helper::convertMoneyFormat($particulars['CostOfRevenue']['from_total'])); ?>

                                </h4>
                            </th>
                            <th scope="row" class="text-right">
                                <h4><?php echo e(Helper::convertMoneyFormat($particulars['CostOfRevenue']['end_total'])); ?>

                                </h4>
                            </th>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <br>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.pdf', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/indok/public_html/accdemo.indo-kasir.com/resources/views/admin/accounts-report/cost-of-revenue/branch-wise/index.blade.php ENDPATH**/ ?>