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