@extends('admin.layout') @section('title', 'Pricing by Branch — '.$model->name) @section('content') ← Back to {{ $model->name }}

Pricing & Stock by Branch — {{ $model->name }}

Tick "Carried here" for every branch that sells this model. Leave Price / Original Price blank to just use this model's own price ({{ $model->price }}) at that branch — only fill them in when a branch's price is actually different.

@if ($locations->isEmpty())

No locations set up yet — add your branches here first.

@else
@csrf @foreach ($locations as $location) @php($existing = $model->locations->firstWhere('id', $location->id)) @endforeach
Branch Carried Here Price Original Price In Stock
{{ $location->name }} pivot->in_stock ? 'checked' : '' }}>
@endif @endsection