@extends('companyuser::layouts.master') @section('title',__('companyuser::integration.edit cost centers')) @section('extra-styles') @endsection @section('breadcrumb') @endsection @section('content')

{{__('companyuser::integration.edit cost centers')}}:

@if(env('SYNC_INTEGRATED_ORDERS_ON') && env('SYNC_INTEGRATED_' . strtoupper($source) . '_ORDERS_ON') && $integrationConfig) @include('superadmin::errors.lists') @if(count($sourceBranches) > 0)
@csrf @method('PUT')
@foreach($sourceBranches as $branch)
@php if(app()->getLocale() == 'ar'){ $branchName = $branch->branch_name_ar ?? $branch->branch_name_en; }else{ $branchName = $branch->branch_name_en; } $branchTitle = $branch->branch_reference ? $branch->branch_reference.'-'.$branchName : $branchName; @endphp
@error('cost_center_ids.' . $branch->branch_id) @enderror
@can('products.cost-centers.create') @endcan
@endforeach
@endif @else
@lang('companyuser::integration.integration is not available currently')
@endif
@endsection @section('extra_scripts') @endsection