Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/ledger.corals.io/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/ledger.corals.io/storage/framework/views/85bb1b87db44ec00618ec79e14b8e5f28daa31cc.php
<?php
    if(isset($recordItem)){
        $item = $recordItem->item->toArray();
        $item['price'] = $recordItem->price;
        $item['quantity'] = $recordItem->quantity;
        $item['amount'] = $recordItem->amount;
        $item['notes'] = $recordItem->notes;
    }
?>
<div id="item_<?php echo e($item['id']); ?>" class="row d-md-flex justify-content-around align-items-center item-row">
    <div class="col-md-3 text-center  p-4 p-md-0">
        <?php echo e($item['name']); ?>

    </div>
    <div class="col-md-5 d-flex">
        <?php echo CoralsForm::number("items[{$item['id']}][price]",'Ledger::attributes.item.price',false, $item['price'],['min'=>"0", 'step'=>"0.01",'class'=>'price']); ?>

        <?php echo CoralsForm::number("items[{$item['id']}][quantity]",'Ledger::attributes.item.quantity',false, $item['quantity'] ?? 1,['min'=>"1",'step'=>"0.01",'class'=>'quantity']); ?>

        <?php echo CoralsForm::number("items[{$item['id']}][amount]",'Ledger::attributes.item.amount',false, data_get($item,'amount',($item['quantity']?? 1) * $item['price'])  ,['min'=>"0", 'step'=>"0.01",'class'=>'amount','readOnly'=>true]); ?>

    </div>
    <div class="col-md-3">
        <?php echo CoralsForm::textarea("items[{$item['id']}][notes]",'Ledger::attributes.item.notes',false, $item['notes'],['rows'=>2]); ?>

    </div>
    <div class="col-md-1">
        <div class="form-group">
            <button class="btn btn-sm btn-danger remove-btn" type="button"><i
                        class="fa fa-trash-o"></i></button>
        </div>
    </div>
</div>
<?php /**PATH /home/corals/ledger.corals.io/Corals/modules/Ledger/resources/views/partials/record_item_row.blade.php ENDPATH**/ ?>

Spamworldpro Mini