

<?php $__env->startSection('content'); ?>

<?php if(session()->has('message')): ?>
<div class="row">
        <!-- left column -->
        <div class="col-md-2"></div>
        <div class="col-md-4 alert alert-success alert-dismissible" style="font-size:18px;font-weight:bold;width:400px;margin-left:15px">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                <?php echo session('message'); ?>

        </div>
</div> 
<?php endif; ?>

<div class="row" style="padding:10px">
<div class="col-md-1" style="margin-left:18px"></div>
<div class="col-md-6" style="margin-left:18px">
      <div class="card card-danger">
          <div class="card-header">
            <h3 class="card-title">المبلغ الاجمالي للفواتير     --- <?php echo e($trust->name); ?> </h3>
          </div>
          <!-- /.card-header -->
          <!-- form start -->
          <form  role="form" method="POST" action="<?php echo e(url('/trust/invoices_amount')); ?>">
                        <?php echo e(csrf_field()); ?>

          <div class="box-body">
            <div class="card-body">

               

                <div class="form-group">
                  <label for="exampleInputPassword1">اجمالي مبلغ الفواتير   </label>
                  <input type="number" min="1" id="total_invoices" name="total_invoices"  class="form-control" value="<?php echo e($trust->total_invoices); ?>" placeholder=" اجمالي مبلغ الفواتير" required>
                </div>
                
                <input type="hidden" min="0" id="trust_id" name="trust_id" value="<?php echo e($trust->id); ?>" class="form-control"  placeholder=" id" required>

                <div class="card-footer">
                  <button type="submit" class="btn btn-info">Update </button>
                </div>  

              </div>
          </div>


          </form>
      </div>


    </div>
  </div>






<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.masterHome2', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>