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/Corals/modules/Ledger/resources/views/items/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/ledger.corals.io/Corals/modules/Ledger/resources/views/items/create_edit.blade.php
{!! CoralsForm::openForm($item,['data-table' => '.dataTable']) !!}
<div class="row">
    <div class="col-md-4">
        {!! CoralsForm::text('name','Ledger::attributes.item.name',true) !!}
        {!! CoralsForm::text('code','Ledger::attributes.item.code',false,$item->code,['help_text' => 'Ledger::attributes.item.code_help'])!!}
        {!! CoralsForm::text('price','Ledger::attributes.item.price',true) !!}
        {!! CoralsForm::text('wholesale_price','Ledger::attributes.item.wholesale_price',false) !!}
    </div>
    <div class="col-md-4">
        {!! CoralsForm::select('category_id','Ledger::attributes.item.category', Category::getCategoriesList('Ledger'), false, null, [], 'select2') !!}
        {!! CoralsForm::textarea('description','Ledger::attributes.item.description') !!}
    </div>
    <div class="col-md-4">
        @if($item->exists)
            @php
                if($item->hasMedia($item->mediaCollectionName)){
                    $media =  $item->thumbnail;
                    $hasMedia = true;
                }else{
                    $media =   $item->getProperty('thumbnail_link');
                }
            @endphp
            @if($media)
                <img src="{{ $media }}" class="img-responsive" style="max-width: 100%;"
                     alt="Thumbnail"/>
                <br/>
                @if(isset($hasMedia))
                    {!! CoralsForm::checkbox('clear', 'Utility::attributes.category.clear') !!}
                @endif
            @endif
            {!! CoralsForm::file('thumbnail', 'Utility::attributes.category.thumbnail') !!}
        @endif
    </div>
</div>
{!! CoralsForm::formButtons(trans("Corals::labels.submit"), [],['show_cancel'=>false]) !!}

{!! CoralsForm::closeForm($item) !!}

Spamworldpro Mini