{{ isset($activitymaster_id) ? 'UPDATE' : 'CREATE' }} ACTIVITY MASTER
@include('helper.formhelper.form', [ 'type' => 'text', 'fieldname' => 'ccs_code', 'labelname' => 'CCS CODE', 'labelidname' => 'ccs_codeid', 'required' => true, 'col' => 'col-md-4', ]) @include('helper.formhelper.form', [ 'type' => 'text', 'fieldname' => 'level_1', 'labelname' => 'LEVEL 1', 'labelidname' => 'level_1id', 'required' => true, 'col' => 'col-md-4', ]) @include('helper.formhelper.form', [ 'type' => 'text', 'fieldname' => 'level_2', 'labelname' => 'LEVEL 2', 'labelidname' => 'level_2id', 'required' => true, 'col' => 'col-md-4', ]) @include('helper.formhelper.form', [ 'type' => 'text', 'fieldname' => 'level_3', 'labelname' => 'LEVEL 3', 'labelidname' => 'level_3id', 'required' => true, 'col' => 'col-md-4', ]) @include('helper.formhelper.form', [ 'type' => 'text', 'fieldname' => 'level_4', 'labelname' => 'LEVEL 4', 'labelidname' => 'level_4id', 'required' => true, 'col' => 'col-md-4', ]) @include('helper.formhelper.form', [ 'type' => 'file', 'fieldname' => 'image', 'labelname' => 'IMAGE', 'labelidname' => 'imageid', 'required' => true, 'col' => 'col-md-4', ]) @include('helper.formhelper.form', [ 'type' => 'text', 'fieldname' => 'uom', 'labelname' => 'UOM', 'labelidname' => 'uomid', 'required' => true, 'col' => 'col-md-4', ]) @include('helper.formhelper.form', [ 'type' => 'text', 'fieldname' => 'slabour_rate', 'labelname' => 'SLABOUR RATE', 'labelidname' => 'slabour_rateid', 'required' => true, 'col' => 'col-md-4', ]) @include('helper.formhelper.form', [ 'type' => 'text', 'fieldname' => 'sprod_rate', 'labelname' => 'SPROD RATE', 'labelidname' => 'sprod_rateid', 'required' => true, 'col' => 'col-md-4', ]) @include('helper.formhelper.form', [ 'type' => 'toggle', 'fieldname' => 'status', 'labelname' => 'STATUS', 'labelidname' => 'statusid', 'required' => true, 'col' => 'col-md-4', ]) @include('helper.formhelper.form', [ 'type' => 'textarea', 'fieldname' => 'remarks', 'labelname' => 'REMARKS', 'labelidname' => 'remarksid', 'required' => false, 'col' => 'col-md-8', ]) @if ($oldimage || $image?->temporaryUrl())

Image Preview

@if ($image?->temporaryUrl()) @elseif($oldimage) @endif @endif