![]() 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/syn.corals.io/Corals/modules/Syndicate/resources/views/factories/ |
@extends('layouts.crud.create_edit') @section('content_header') @component('components.content_header') @slot('page_title') {{ $title_singular }} @endslot @slot('breadcrumb') {{ Breadcrumbs::render('syndicate_factory_create_edit') }} @endslot @endcomponent @endsection @section('content') @parent <div class="row "> <div class="col-md-8"> @component('components.box') {!! CoralsForm::openForm($factory) !!} {!! CoralsForm::customFields($factory) !!} <div class="row"> <div class="col-md-4"> {!! CoralsForm::text('name', 'Syndicate::attributes.factory.name', true) !!} </div> <div class="col-md-4"> {!! CoralsForm::select("user_id", 'Syndicate::attributes.pharmacy.responsible_pharmacist' ,[], true,null, [ 'class'=>'select2-ajax', 'data'=>[ 'model'=>\Corals\Modules\Syndicate\Models\Pharmacist::class, 'columns'=> json_encode(['name','email','last_name']), 'show_identifier'=>json_encode('true'), 'selected'=>json_encode([$factory->user_id]), ] ], 'select2') !!} </div> <div class="col-md-4"> {!! CoralsForm::date('opening_date', 'Syndicate::attributes.factory.opening_date', true) !!} </div> </div> <div class="row"> <div class="col-md-4"> {!! CoralsForm::text('street', 'Syndicate::attributes.factory.street', true) !!} </div> <div class="col-md-4"> {!! CoralsForm::select('district_code','Syndicate::attributes.factory.district', ListOfValues::get('Syndicate::district', false, 'active', true), true, null, [ 'id'=>'district_code', 'class'=>'dependent-select', 'data'=> [ 'dependency-field'=>'city_code', 'dependency-ajax-url'=> url('utilities/get-district-type-children'), ] ], 'select2') !!} </div> <div class="col-md-4"> {!! CoralsForm::select('city_code','Syndicate::attributes.factory.city',[], false, null, ['code'=>'city_code','data-selected_value'=>$factory->city_code], 'select2') !!} </div> </div> <div class="row"> <div class="col-md-4"> {!! CoralsForm::text('phone', 'Syndicate::attributes.factory.phone', true) !!} </div> <div class="col-md-4"> {!! CoralsForm::text('mobile1', 'Syndicate::attributes.factory.mobile1', false) !!} </div> <div class="col-md-4"> {!! CoralsForm::text('mobile2', 'Syndicate::attributes.factory.mobile2', false) !!} </div> </div> <div class="row"> <div class="col-md-4"> {!! CoralsForm::text('fax', 'Syndicate::attributes.factory.fax', false) !!} </div> <div class="col-md-4"> {!! CoralsForm::text('email', 'Syndicate::attributes.factory.email', false) !!} </div> </div> {!! CoralsForm::formButtons() !!} {!! CoralsForm::closeForm($factory) !!} @endcomponent </div> </div> @endsection