@include('common.header')
@include('alert.alert_panel')
@if (isset($status_code)) @if ($status_code === 200)
{{ $success_msg }}
@endif @if ($status_code != 200)
Update Failed
@endif @endif @if (isset($failed_msg))
{{ $failed_msg }}
@endif

{{ $waybill ? 'Edit Shipment' : 'New Shipment' }}

@if ($header_title != "Edit Shipment") NEW (Esc) @endif @if (isset($status_code)) @if(session('waybill_add_latest_id') && $status_code === 200) Print @endif @endif
@if (isset($status_code)) @if(session('waybill_add_latest_id') && $status_code === 200) @endif @else @endif
Shipment ID : {{session('waybill_add_latest_id')}} Shipment ID : {{ $waybill ? $waybill->cnNo : 'N/A' }} DATE : {{ $waybill ? \Carbon\Carbon::parse($waybill->CreatedAt)->format('d-m-Y') : 'N/A' }}
Shipper Information

@if ($errors->has('account_no')) {{ $errors->first('account_no') }} @endif

@if ($errors->has('shipper_name')) {{ $errors->first('shipper_name') }} @endif

@if ($errors->has('shipper_address')) {{ $errors->first('shipper_address') }} @endif


@if ($errors->has('shipper_postcode')) {{ $errors->first('shipper_postcode') }} @endif

@if ($errors->has('shipper_contact_name')) {{ $errors->first('shipper_contact_name') }} @endif

@if ($errors->has('shipper_contact_ph')) {{ $errors->first('shipper_contact_ph') }} @endif
Consignee Information

@if ($errors->has('consignee_name')) {{ $errors->first('consignee_name') }} @endif

@if ($errors->has('consignee_address')) {{ $errors->first('consignee_address') }} @endif


@if ($errors->has('consignee_postcode')) {{ $errors->first('consignee_postcode') }} @endif

@if ($errors->has('consignee_contact_name')) {{ $errors->first('consignee_contact_name') }} @endif

@if ($errors->has('consignee_contact_ph')) {{ $errors->first('consignee_contact_ph') }} @endif


@if ($errors->has('parcel_total')) {{ $errors->first('parcel_total') }} @endif


@if ($errors->has('parcel_weight')) {{ $errors->first('parcel_weight') }} @endif

@if ($errors->has('cn_no')) {{ $errors->first('cn_no') }}

I aware that duplicated CN is created, and wish to proceed

@endif