@extends('layouts.app') @section('css') {{-- Select2 --}} @endsection @section('content')
@include('layouts.includes.mail_menu')

@if($tempId == 1) {{ __('Compose Payment Message') }} @elseif($tempId == 2) {{ __('Compose Shipment Message') }} @elseif($tempId == 3) {{ __('Compose Purchase Order Message') }} @elseif($tempId == 4) {{ __('Compose Sales Invoice Message') }} @elseif($tempId == 5) {{ __('Compose Sales Quotation Message') }} @elseif($tempId == 6) {{ __('Compose Ordered Item Packing Message') }} @elseif($tempId == 7) {{ __('Compose Ticket Assignee Message') }} @elseif($tempId == 8) {{ __('Compose Customer Message') }} @elseif($tempId == 9) {{ __('Compose Department Message') }} @elseif($tempId == 10) {{ __('Compose Task Assignee Message') }} @elseif($tempId == 12) {{ __('Compose Project create Message') }} @elseif($tempId == 15) {{ __('Compose Purchase Payment Message') }} @elseif($tempId == 13) {{ __('Compose Project create Message') }} @elseif($tempId == 17) {{ __('Reset Password') }} @elseif($tempId == 18) {{ __('Update Password') }} @elseif($tempId == 19) {{ __('Compose POS Invoice Message') }} @elseif ($tempId == 20) {{ __('Compose Task Status Message') }} @elseif ($tempId == 21) {{ __('Compose Task Comment Message') }} @elseif($tempId == 22) {{ __('Compose Add Customer Message') }} @elseif($tempId == 23) {{ __('Compose Add Supplier Message') }} @elseif($tempId == 24) {{ __('Compose Add Team Member Message') }} @elseif($tempId == 25) {{ __('Compose Customer Activation Message After Registration') }} @endif

@if($tempId == 1)
{{ __('Invoice Referance Number') }}: {invoice_reference_no}
{{ __('Order Customer Name') }}: {order_reference_no}
{{ __('Payment ID') }}: {payment_id}
{{ __('Customer Name') }}: {customer_name}
{{ __('Payment Date') }}: {payment_date}
{{ __('Payment Method') }}: {payment_method}
{{ __('Total Amount') }}: {total_amount}
{{ __('Due Date') }}: {due_date}
{{ __('Billing City') }}: {billing_city}
{{ __('Billing State') }}: {billing_state}
{{ __('Billing Zip Code') }}: {billing_zip_code}
{{ __('Billing Country') }}: {billing_country}
{{ __('Company Name') }}: {company_name}
@elseif($tempId == 2) {{ __('Compose Shipment Message') }} @elseif($tempId == 3) {{ __('Compose Purchase Order Message') }} @elseif($tempId == 4 || $tempId == 19)
{{ __('Invoice Referance Number') }}: {invoice_reference_no}
{{ __('Customer Name') }}: {order_reference_no}
{{ __('Company Name') }}: {company_name}
{{ __('Customer Name') }}: {customer_name}
{{ __('Currency') }}: {currency}
{{ __('Total Amount') }}: {total_amount}
{{ __('Due Date') }}: {due_date}
{{ __('Billing Street') }}: {billing_street}
{{ __('Billing City') }}: {billing_city}
{{ __('Billing State') }}: {billing_state}
{{ __('Billing Zip Code') }}: {billing_zip_code}
{{ __('Billing Country') }}: {billing_country}
@elseif($tempId == 5)
{{ __('Quotation Reference Number') }}: {order_reference_no}
{{ __('Quotation Customer Name') }}: {customer_name}
{{ __('Quotation Total Amount') }}: {total_amount}
{{ __('Quotation Billing Street') }}: {billing_street}
{{ __('Quotation Billing Country') }}: {billing_country}
{{ __('Quotation Billing Summary') }}: {order_summery}
{{ __('Company Name') }}: {company_name}
{{ __('Quotation Currency') }}: {currency}
{{ __('Quotation Date') }}: {order_date}
{{ __('Quotation Billing City') }}: {billing_city}
{{ __('Quotation Billing Zip Code') }}: {billing_zip_code}
@elseif($tempId == 6)
{{ __('Purchase Invoice Number') }}: {invoice_reference_no}
{{ __('Purchase Company Name') }}: {company_name}
{{ __('Supplier Name') }}: {supplier_name}
{{ __('Purchase Currency') }}: {currency}
{{ __('Purchase Total Amount') }}: {total_amount}
{{ __('Purchase Due Date') }}: {due_date}
{{ __('Purchase Billing Street') }}: {billing_street}
{{ __('Purchase Billing City') }}: {billing_city}
{{ __('Purchase Billing State') }}: {billing_state}
{{ __('Purchase Billing Zip Code') }}: {billing_zip_code}
{{ __('Purchase Billing Country') }}: {billing_country}
{{ __('Purchase Summary') }}: {invoice_summery}
@elseif($tempId == 7)
{{ __('Ticket Subject') }}: {ticket_subject}
{{ __('Ticket Number') }}: {ticket_no}
{{ __('Customer Name') }}: {customer_name}
{{ __('Ticket Message') }}: {ticket_message}
{{ __('Ticket Status') }}: {ticket_status}
{{ __('Ticket Details') }}: {details}
{{ __('Company Name') }}: {company_name}
@elseif($tempId == 8)
{{ __('Ticket Subject') }}: {ticket_subject}
{{ __('Ticket Number') }}: {ticket_no}
{{ __('Customer Name') }}: {customer_name}
{{ __('Ticket Message') }}: {ticket_message}
{{ __('Ticket Status') }}: {ticket_status}
{{ __('Ticket Details') }}: {details}
{{ __('Company Name') }}: {company_name}
@elseif($tempId == 22)
{{ __('Customer Name') }}: {customer_name}
{{ __('Customer Panel URL') }}: {company_url}
{{ __('Company Name') }}: {company_name}
{{ __('Password') }}: {password}
{{ __('Email') }}: {email}
@elseif($tempId == 23)
{{ __('Supplier Name') }}: {supplier_name}
{{ __('Company Name') }}: {company_name}
@elseif($tempId == 24)
{{ __('Team Member Name') }}: {user_name}
{{ __('Admin Panel URL') }}: {company_url}
{{ __('Added by') }}: {assigned_by_whom}
{{ __('Company Name') }}: {company_name}
{{ __('User ID') }}: {user_id}
{{ __('Password') }}: {user_pass}
@elseif($tempId == 9)
{{ __('Ticket Subject') }}: {ticket_subject}
{{ __('Ticket Number') }}: {ticket_no}
{{ __('Customer Name') }}: {customer_name}
{{ __('Ticket Message') }}: {ticket_message}
{{ __('Company Name') }}: {company_name}
{{ __('Ticket Status') }}: {ticket_status}
{{ __('Ticket Details') }}: {details}
{{ __('Member Name') }}: {member_name}
{{ __('Project Name') }}: {project_name}
@elseif($tempId == 10)
{{ __('Task Name') }}: {task_name}
{{ __('Assignee Name') }}: {assignee_name}
{{ __('Start Date') }}: {start_date}
{{ __('Due Date') }}: {due_date}
{{ __('Task Priority') }}: {priority}
{{ __('Status') }}: {ticket_status}
{{ __('Company Name') }}: {company_name}
@elseif($tempId == 12)
{{ __('Customer Name') }}: {customer_name}
{{ __('Project Name') }}: {project_name}
{{ __('Start Date') }}: {start_date}
{{ __('Status') }}: {status}
{{ __('Details') }}: {details}
{{ __('Company Name') }}: {company_name}
@elseif($tempId == 15)
{{ __('Purchase Referance No') }}: {purchase_reference_no}
{{ __('Supplier Name') }}: {supplier_name}
{{ __('Purchase Billing Street') }}: {billing_street}
{{ __('Purchase Billing City') }}: {billing_city}
{{ __('Purchase Billing Zip Code') }}: {billing_zip_code}
{{ __('Purchase Billing Country') }}: {billing_country}
{{ __('Payment ID') }}: {payment_id}
{{ __('Payment Date') }}: {payment_date}
{{ __('Payment Method') }}: {payment_method}
{{ __('Total Amount') }}: {total_amount}
{{ __('Company Name') }}: {company_name}
@elseif($tempId == 17)
{{ __('Password Reset URL') }}: {password_reset_url}
{{ __('User Name') }}: {user_name}
{{ __('Company Name') }}: {company_name}
@elseif($tempId == 18)
{{ __('User Name') }}: {user_name}
{{ __('User ID') }}: {user_id}
{{ __('Password') }}: {user_pass}
{{ __('Company Name') }}: {company_name}
@elseif ($tempId == 20)
{{ __('Assignee Name') }}: {assignee_name}
{{ __('Company Name') }}: {company_name}
{{ __('Task assignees') }}: {all_assignee_name}
{{ __('Task previous status') }}: {task_pre_status}
{{ __('Task previous status') }}: {task_new_status}
{{ __('Changed by') }}: {changed_by}
{{ __('Task No') }}: {task_id}
{{ __('Task Name') }}: {task_name}
{{ __('Start Date') }}: {start_date}
{{ __('Due Date') }}: {due_date}
{{ __('Priority') }}: {task_priority}
{{ __('Task Link') }}: {task_link}
@elseif ($tempId == 21)
{{ __('Assignee Name') }}: {assignee_name}
{{ __('Company Name') }}: {company_name}
{{ __('Task assignees') }}: {all_assignee_name}
{{ __('Task previous status') }}: {task_pre_status}
{{ __('Task previous status') }}: {task_new_status}
{{ __('Commented by') }}: {commented_by}
{{ __('Comment') }}: {comment}
{{ __('Task No') }}: {task_id}
{{ __('Task Name') }}: {task_name}
{{ __('Start Date') }}: {start_date}
{{ __('Due Date') }}: {due_date}
{{ __('Priority') }}: {task_priority}
{{ __('Task Link') }}: {task_link}
@elseif($tempId == 13)
{{ __('Assignee Name') }}: {assignee}
{{ __('Project Name') }}: {project_name}
{{ __('Customer Name') }}: {customer_name}
{{ __('Start Date') }}: {start_date}
{{ __('Status') }}: {status}
{{ __('Details') }}: {details}
{{ __('Company Name') }}: {company_name}
@elseif($tempId == 25)
{{ __('Customer Name') }}: {customer_name}
{{ __('Activation Link') }}: {activation_link}
{{ __('Company Name') }}: {company_name}
@endif

{!! csrf_field() !!}
@if ($errors->has('en[subject]')) {{ $errors->first('en[subject]') }} @endif

@if ($errors->has('en[body]')) {{ $errors->first('en[body]') }} @endif
@php $i = 1 @endphp @foreach($languages as $key => $language) @php if($language->short_name == 'en'){continue;} @endphp
@php $i++ @endphp @endforeach
@endsection @section('js') {{-- Classic editor --}} @endsection