@extends('layouts.tabler') @section('content')

{{ ucfirst($integration->name ?? 'Integration') }} Integration

@if(session('success'))
{{ session('success') }}
@endif
@csrf
Store Details
@if(isset($userIntegration->store_image)) Store Image @endif
API Details
@php $checkboxes = [ 'push_fulfil_status' => 'Push Fulfilment Status to '.$integration->name, 'pull_delivery_status' => 'Pull Delivery Status from '.$integration->name, 'sync_stock' => 'Sync Stock to '.$integration->name, 'auto_import_orders' => 'Auto Import Orders from '.$integration->name, 'update_price' => 'Update Price on '.$integration->name, 'update_product_on_import' => 'On Import, Update Product on Asaan Retail' ]; @endphp @foreach($checkboxes as $field => $label)
$field) && $userIntegration->$field ? 'checked' : '' }}>
@endforeach
Customer Category & Fulfil FBD Orders
auto_import_products) && $userIntegration->auto_import_products ? 'checked' : '' }}>
auto_generate_missing_sku) && $userIntegration->auto_generate_missing_sku ? 'checked' : '' }}>
@endsection