@extends('layouts.app') @section('title') {{ __('messages.package.edit_package') }} @endsection @section('page_css') @endsection @section('css') {{-- --}} @endsection @section('header_toolbar')

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{Form::hidden('packageSaveUrl',route('packages.update', $package->id),['class'=>'packageSaveUrl','id'=>'editPackageSaveUrl'])}} {{Form::hidden('packageUrl',route('packages.index'),['class'=>'packageUrl','id'=>'editPackageUrl'])}} {{Form::hidden('uniqueId',$package->packageServicesItems->count() + 1,['class'=>'packageUniqueId'])}} {{Form::hidden('associateServices',json_encode($services),['class'=>'associateServices'])}} {{ Form::hidden('packageReportUrl', url('packages'), ['class' => 'packageReportUrl']) }}
{{ Form::model($package, ['route' => ['packages.update', $package->id], 'id'=>'packageForm', 'class'=>'packageForm']) }} @include('packages.fields') {{ Form::close() }}
@include('packages.templates.templates')
@endsection {{-- --}} {{-- let packageSaveUrl = "{{ route('packages.update', $package->id) }}"--}} {{-- let packageUrl = "{{route('packages.index')}}"--}} {{-- let associateServices = JSON.parse('@json($services)')--}} {{-- let uniqueId = "{{ $package->packageServicesItems->count() + 1 }}"--}} {{-- --}} {{-- --}}