@inject('roster_helper', 'App\Helpers\TenderHelper') @extends('organizations.layouts.default') @section('content')

Publish Tender

@include('organizations.layouts.partials.breadcrumb')

Title: {{ $model->title }}
Date: {{ \Carbon\Carbon::parse($model->start_date)->format('Y-m-d') }} to {{ \Carbon\Carbon::parse($model->end_date)->format('Y-m-d') }}

Service Applied

{{ $model->service?->service_name }}
Valid for {{ $model->service?->service_validity_days }} days.
Your notice will be published till {{ now()->addDays($model->service?->service_validity_days + 1)->format('Y-m-d') }}

Coupons

@csrf

{{ ym_input([ 'label' => '', 'placeholder' => 'coupon code', 'type' => 'text', 'name' => 'coupon_code', 'value' => $model->coupon?->coupon_code, ]) }} @error('coupon_code') {{ $message }} @enderror

Service Amount Rs.{{ $model->service_amount }}

@if ($model->coupon_id)

Coupon -{{ $model->coupon?->coupon_pct }}%

@endif

Total Payable Rs.{{ $roster_helper->getPublishAmount($model->id) }}

@if ($roster_helper->getPublishAmount($model->id) == 0)
@csrf
@else
@csrf
@foreach ($paymentGateWays as $pGateway) @if ($pGateway['status'] == 1)
payment_method == $pGateway['code'] ? 'checked="checked"' : '' }} class="rounded border-[1.5px] bg-transparent py-3 px-5 font-medium outline-none transition focus:border-primary active:border-primary disabled:cursor-default disabled:bg-w dark:border-form-strokedark dark:bg-form-input dark:focus:border-primary {{ $errors->has('payment_method') ? ' border-red-500' : ' border-stroke' }}" required>
@endif @endforeach
{{ ym_input([ 'label' => '', 'placeholder' => 'Your remarks', 'type' => 'textarea', 'name' => 'payment_remarks', 'value' => $model->payment_remarks, ]) }} @endif
@endsection