@extends('layouts.admin') @section('title', 'New ' . $typeLabel) @section('page-title', 'Add New ' . $typeLabel) @section('content') @if(!empty($emptyVendors))
Add a vendor first

You need at least one vendor before creating a {{ strtolower($typeLabel) }}.

Add Vendor Back
@else @include('admin.purchase-orders._form') @endif @endsection