<!DOCTYPE html>
<html lang="en">
  
<head>
  <title><%= lang_data.Shipping %></title>
    <%- include('./partials/meta'); -%>
  </head>
  <body>
    <%- include('./partials/header_sidebar'); -%> 

        <div class="page-body">
          <div class="container-fluid">
            <div class="page-title">
              <div class="row">
                <div class="col-sm-6">
                  <h3><%= lang_data.Create_Shipment %></h3>
                </div>
                <div class="col-sm-6">
                  <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="/index"><i data-feather="home"></i></a></li>
                    <li class="breadcrumb-item"><a href="/shipping/create_shipment"><%= lang_data.Create_Shipment %></a></li>
                  </ol>
                </div>
              </div>
            </div>
          </div>
          <!-- Container-fluid starts-->
          <div class="container-fluid">
            <form action="/shipping/create_shipment" method="post" enctype="multipart/form-data">
              <div class="row">
              
                <!-- Scroll - vertical dynamic Starts-->
                <div class="col-lg-6 col-sm-12">
                  <div class="card">
                    <div class="card-body">
                      <div class="row">

                        <div class="col-6">
                          <label class="form-label"><%= lang_data.Shipping_Prefix %></label>
                          <input class="form-control" type="text" id="" value="<%= prefix_data[0].prefix %>" name="prefix" readonly>
                        </div>

                        <div class="col-6">
                          <label class="form-label"><%= lang_data.Tracking_ID %></label>
                          <input class="form-control" type="text" id="random_no" value="<%= invoice %>" name="invoice" readonly>
                        </div>

                      </div>
                    </div>
                  </div>
                </div>

                <div class="col-lg-6 col-sm-12">
                  <div class="card">
                    <div class="card-body">
                      <div class="row">

                        <dic class="col-6">
                          <div class="col-form-label"><%= lang_data.List_of_Agencies %></div>
                          <select class="js-example-basic-single" name="agency" required>
                            <option value selected disabled>Search Agencies</option>
                            <% agencies_list.forEach((data) => { %>
                              <option value="<%= data.id %>"> <%= data.agency_name %></option>
                            <% }) %>
                          </select>
                        </dic>

                        <dic class="col-6">
                          <div class="col-form-label"><%= lang_data.Office_of_origin %></div>
                          <select class="js-example-basic-single" name="office_of_origin" required>
                            <option value selected disabled>Search Office</option>
                            <% office_group_list.forEach((data) => { %>
                              <option value="<%= data.id %>"> <%= data.office_name %></option>
                            <% }) %>
                          </select>
                        </dic>

                      </div>
                    </div>
                  </div>
                </div>

                <div class="col-lg-6 col-sm-12">
                  <div class="card">
                    <div class="card-body">
                      <div class="d-flex justify-content-between">
                          <h4><%= lang_data.Sender_Information %></h4>
                          <% if (role_data.role == '1' || role_data.role == '3') { %>
                            <a href="/users/add_customers" class="btn btn-pill btn-primary btn-air-primary"><%= lang_data.Add_Sender %></a>
                          <% } %>
                      </div>

                      <hr>

                      <div class="row g-2">
                        <% if (role_data.role == '1' || role_data.role == '3') { %>

                          <div class="col-12">
                            <div class="col-form-label"><%= lang_data.Sender %>/<%= lang_data.Customer %></div>
                            <select class="js-example-basic-single" name="customer" id="shipment_customer" required>
                              <option value selected disabled>Search Sender / Customer</option>
                              <% customers_list.forEach((data) => { %>
                                <option value="<%= data.id %>"> <%= data.first_name %> <%= data.last_name %></option>
                              <% }) %>
                            </select>
                          </div>
                        <% } else { %>

                          <div class="col-12">
                            <div class="col-form-label"><%= lang_data.Sender %>/<%= lang_data.Customer %></div>
                            <select class="js-example-basic-single" name="customer" id="shipment_customer" required>
                              <option value selected disabled>Search Sender / Customer</option>
                              <% customers_list.forEach((data) => { %>
                                <% if (data.login_id == role_data.id) { %>
                                  <option value="<%= data.id %>"> <%= data.first_name %> <%= data.last_name %></option>
                                <% } %>
                              <% }) %>
                            </select>
                          </div>
                        <% } %>

                        <div class="col-12">
                          <div class="col-form-label"><%= lang_data.Sender %>/<%= lang_data.Customer %> <%= lang_data.Address %></div>
                          <select class="js-example-basic-single" name="customer_address" id="customer_address" required>
                            <option value selected disabled>Search Sender / Customer Address</option>
                          </select>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>

                <div class="col-lg-6 col-sm-12">
                  <div class="card">
                    <div class="card-body">
                      <div class="d-flex justify-content-between">
                          <h4><%= lang_data.Recipient_Information %></h4>
                          <a href="/users/add_client" class="btn btn-pill btn-primary btn-air-primary"><%= lang_data.Add_Recipient %></a>
                      </div>
                      <hr>
                      <div class="row g-2">

                        <div class="col-12">
                          <div class="col-form-label"><%= lang_data.Recipient %>/<%= lang_data.Client %></div>
                          <select class="js-example-basic-single" name="client" id="shipment_client">
                            <option value selected disabled>Search Recipient / Client</option>
                          </select>
                        </div>

                        <div class="col-12">
                          <div class="col-form-label"><%= lang_data.Recipient %>/<%= lang_data.Client %> <%= lang_data.Address %></div>
                          <select class="js-example-basic-single" name="client_address" id="client_address">
                            <option value selected disabled>Search Recipient / Client Address</option>
                          </select>
                        </div>

                      </div>
                    </div>
                  </div>
                </div>

                <div class="col-sm-12">
                  <div class="card">
                    <div class="card-body">
                      <h4><%= lang_data.Shipping_information %></h4>

                      <hr>
                      <div class="row">
                        <div class="col-4 mt-3">
                          <div class="col-form-label"><%= lang_data.Shipping_mode %></div>
                          <select class="js-example-basic-single" name="shipping_mode" required>
                            <option value selected disabled>Search Shipping Mode</option>
                            <% logistics_service_list.forEach((data) => { %>
                              <option value="<%= data.id %>"> <%= data.service_name %></option>
                            <% }) %>
                          </select>
                        </div>
                        
                        <div class="col-4 mt-3">
                          <div class="col-form-label"><%= lang_data.Type_of_packaging %></div>
                          <select class="js-example-basic-single" name="packaging" required>
                            <option value selected disabled>Search packaging</option>
                            <% packaging_list.forEach((data) => { %>
                              <option value="<%= data.id %>"> <%= data.packaging_type %></option>
                            <% }) %>
                          </select>
                        </div>

                        <div class="col-4 mt-3">
                          <div class="col-form-label"><%= lang_data.Courier_company %></div>
                          <select class="js-example-basic-single" name="courier_company" required>
                            <option value selected disabled>Search company</option>
                            <% courier_companies_list.forEach((data) => { %>
                              <option value="<%= data.id %>"> <%= data.companies_name %></option>
                            <% }) %>
                          </select>
                        </div>

                        <div class="col-4 mt-3">
                          <div class="col-form-label"><%= lang_data.Service_Mode %></div>
                          <select class="js-example-basic-single" name="service_mode" required>
                            <option value selected disabled>Search Mode</option>
                            <% shipping_modes_list.forEach((data) => { %>
                              <option value="<%= data.id %>"> <%= data.shipping_modes %></option>
                            <% }) %>
                          </select>
                        </div>
                        
                        <div class="col-4 mt-3">
                          <div class="col-form-label"><%= lang_data.Payment_Type %></div>
                          <select class="js-example-basic-single" name="payment_type" required>
                            <option value selected disabled>Search Type</option>
                            <% payment_type.forEach((data) => { %>
                              <option value="<%= data.id %>"> <%= data.payment_type %></option>
                            <% }) %>
                          </select>
                        </div>
                          
                        <div class="col-4 mt-3">
                          <div class="col-form-label"><%= lang_data.Payment_Methods %></div>
                          <select class="js-example-basic-single" name="payment_methods" required>
                            <option value selected disabled>Search Methods</option>
                            <% payment_methods_data.forEach((data) => { %>
                              <option value="<%= data.id %>"> <%= data.payment_methods %></option>
                            <% }) %>
                          </select>
                        </div>
                            
                        <% if (role_data.role == '1' || role_data.role == '3') { %>

                          <div class="col-4 mt-3">
                            <div class="col-form-label"><%= lang_data.Delivery_time %></div>
                            <select class="js-example-basic-single" name="delivery_time" required>
                              <option value selected disabled>Search time</option>
                              <% shipping_times_list.forEach((data) => { %>
                                <option value="<%= data.id %>"> <%= data.shipping_times %></option>
                              <% }) %>
                            </select>
                          </div>
  
                          <div class="col-4 mt-3">
                            <div class="col-form-label"><%= lang_data.Delivery_Status %></div>
                            <select class="js-example-basic-single" name="delivery_status" required>
                              <option value selected disabled>Search Status</option>
                              <% shipping_status_data.forEach((data) => { %>
                                <option value="<%= data.id %>"> <%= data.status_name %></option>
                              <% }) %>
                            </select>
                          </div>
  
                          <div class="col-4 mt-3">
                            <div class="col-form-label"><%= lang_data.Assign_Driver %> <i class="fa fa-taxi font-danger"></i></div>
                              <select class="js-example-basic-single" name="assign_driver" required>
                                <option value selected disabled>Search Driver</option>
                                <% drivers_list.forEach((data) => { %>
                                  <option value="<%= data.id %>"> <%= data.first_name %> <%= data.last_name %></option>
                                <% }) %>
                              </select>
                          </div>
                          
                        <% } %>

                        <div class="col-4">
                          <label class="btn btn-square btn-info mt-4 text-nowrap" id="add_product_image" for="file-1"><%= lang_data.Upload_Image %></label>
                          <div class="form-input">                                           
                            <img id="file-preview" width="250px" height="250px" src="../images/dashboard/default/profile.png" alt="image">
                          
                            <input class="d-none" type="file" id="file-1" name="image" onchange="showPreview(event)" required>
                            <p class="font-danger" id="image_error"></p>
                          </div>
                        </div>
                        
                      </div>
                    </div>
                  </div>
                </div>

                <div class="col-sm-12">
                  <div class="card">
                    <div class="card-body">

                      <div class="d-flex justify-content-between">
                          <h4><%= lang_data.Package_Information %></h4>
                          <div>
                            <% if (role_data.role == '1' || role_data.role == '3') { %>

                              <a href="/settings/add_rates" class="btn btn-pill btn-info btn-air-info m-r-30"><%= lang_data.Add_Shipping_Fee %></a>
                            <% } %>
                              <button class="btn btn-pill btn-primary btn-air-primary text-nowrap" type="button" id="shipment_add_box"><%= lang_data.Add_Box_or_Packages %></button>
                          </div>
                      </div>

                      <hr>

                      <div id="register_add_row">
                        <div class="row mb-3 package_information">
          
                          <div class="col-lg-1 col-md-4 d-flex align-items-start flex-column">
                            <label class="form-label mb-auto" for="validationCustom01" id="json_Package_Name"><%= lang_data.Package_Name %></label>
                            <input class="form-control form-control-sm" type="text" name="package_name" placeholder="Name" required>
                          </div>

                          <div class="col-lg-2 col-md-4 d-flex align-items-start flex-column">
                            <label class="form-label mb-auto" for="validationCustom01" id="json_Package_Description"><%= lang_data.Package_Description %></label>
                            <input class="form-control form-control-sm" type="text" name="package_description" placeholder="Description" required>
                          </div>

                          <div class="col-lg-1 col-md-4 d-flex align-items-start flex-column">
                            <label class="form-label mb-auto" for="validationCustom01" id="json_Amount"><%= lang_data.Amount %></label>
                            <input class="form-control form-control-sm" type="number" name="package_amount" placeholder="Amount" min="0" required>
                          </div>

                          <div class="col-lg-1 col-md-4 d-flex align-items-start flex-column">
                            <label class="form-label mb-auto" for="validationCustom01" id="json_Weight"><%= lang_data.Weight %></label>
                            <input class="form-control form-control-sm shipment_weight" type="number" name="weight" value="0" min="0" required>
                          </div>

                          <div class="col-lg-1 col-md-4 d-flex align-items-start flex-column">
                            <label class="form-label mb-auto" for="validationCustom01" id="json_Length"><%= lang_data.Length %></label>
                            <input class="form-control form-control-sm shipment_sum" type="number" name="length" id="register_packages_length" value="0" min="0" required>
                          </div>

                          <div class="col-lg-1 col-md-4 d-flex align-items-start flex-column">
                            <label class="form-label mb-auto" for="validationCustom01" id="json_Width"><%= lang_data.Width %></label>
                            <input class="form-control form-control-sm shipment_sum" type="number" name="width" id="register_packages_width" value="0" min="0" required>
                          </div>

                          <div class="col-lg-1 col-md-4 d-flex align-items-start flex-column">
                            <label class="form-label mb-auto" for="validationCustom01" id="json_Height"><%= lang_data.Height %></label>
                            <input class="form-control form-control-sm shipment_sum" type="number" name="height" id="register_packages_height" value="0" min="0" required>
                          </div>

                          <div class="col-lg-1 col-md-4 d-flex align-items-start flex-column">
                            <label class="form-label mb-auto" for="validationCustom01" id="json_Weight_Vol"><%= lang_data.Weight_Vol %> <i class="fa fa-info-circle" data-bs-toggle="tooltip" data-bs-placement="top" title="L x W x H / Volume percentage"></i></label>
                            <input class="form-control form-control-sm shipment_weight_vol" type="number" name="weight_vol" id="shipment_weight_vol" value="0" readonly>
                            <input class="form-control form-control-sm" type="hidden" name="" id="register_packages_vol_per" value="<%= taxe_data.vol_per %>">
                          </div>

                          <div class="col-lg-1 col-md-4 d-flex align-items-start flex-column">
                            <label class="form-label mb-auto" for="validationCustom01" id="json_Fixed_charge"><%= lang_data.Fixed_charge %></label>
                            <input class="form-control form-control-sm shipment_f_charge" type="number" name="f_charge" value="0" min="0" required>
                          </div>

                          <div class="col-lg-1 col-md-4 d-flex align-items-start flex-column">
                            <label class="form-label mb-auto" for="validationCustom01" id="json_DecValue"><%= lang_data.Declared_value %></label>
                            <input class="form-control form-control-sm shipment_decvalue" type="number" name="decvalue" value="0" min="0" required>
                          </div>

                          <div class="col-lg-1 col-md-4 d-flex align-items-center mt-4">
                            <a type="submit"><i class="icon-trash f-20 font-danger"></i></a>
                          </div>
                          
                        </div>
                      </div>

                      <hr>
                      
                      <div class="row d-none" id="shipment_details">
                        <% if (role_data.role == '1') { %>

                          <div class="col-lg-7 col-sm-12">
                            <div class="row g-3">

                              <div class="col-lg-4 col-sm-12">
                                <label class="form-label"><%= lang_data.Total_Weight %></label>
                                <input class="form-control shipment_sum" type="number" id="total_weight" name="total_weight" readonly>
                              </div>

                              <div class="col-lg-4 col-sm-12">
                                <label class="form-label"><%= lang_data.Total_Weight_Vol %></label>
                                <input class="form-control shipment_sum" type="number" id="total_weight_vol" name="total_weight_vol" readonly>
                              </div>

                              <div class="col-lg-4 col-sm-12">
                                <label class="form-label"><%= lang_data.Total_DecValue %></label>
                                <input class="form-control shipment_sum" type="number" id="total_decvalue" name="total_decvalue" readonly>
                              </div>
                              
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Price_kg %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_price_kg" name="add_price_kg" value="<%= taxe_data.weight_val %>" step="0.01" min="0" required>
                                  <input class="form-control register_packages_sum" type="hidden" id="hidden_start_price">
                                  <input class="form-control register_packages_sum" type="hidden" id="hidden_end_price">
                              </div>
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Discount %> (%)</label>
                                  <input class="form-control shipment_sum" type="number" id="add_discount" name="add_discount" value="0" min="0" required>
                              </div>
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Value_assured %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_value_assured" name="add_value_assured" value="0" min="0" required>
                              </div>
                        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Shipping_Insurance %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_shipping_insurance" name="add_shipping_insurance" value="<%= taxe_data.shipping_insurance %>" min="0" required>
                              </div>
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Customs_Duties %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_customs_duties" name="add_customs_duties" value="<%= taxe_data.custom_duties %>" min="0" required>
                              </div> 
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Tax %> <%= taxe_data.tax_count == 1 ? "(%)" : "(Fix)" %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_tax" name="add_tax" value="<%= taxe_data.tax %>" min="0" required>
  
                                  <input class="form-control" type="hidden" name="tax_count" id="tax_count" value="<%= taxe_data.tax_count %>">
                              </div>
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Declared_value %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_declared_value" name="add_declared_value" value="<%= taxe_data.declared_tax %>" min="0" required>
                              </div>
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Reissue %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_reissue" value="0" min="0" required>
                              </div>
                              
        
                            </div>
                          </div>
                        <% } else { %>

                          <div class="col-lg-7 col-sm-12">
                            <div class="row g-3">

                              <div class="col-lg-4 col-sm-12">
                                <label class="form-label"><%= lang_data.Total_Weight %></label>
                                <input class="form-control shipment_sum" type="number" id="total_weight" name="total_weight" readonly>
                              </div>

                              <div class="col-lg-4 col-sm-12">
                                <label class="form-label"><%= lang_data.Total_Weight_Vol %></label>
                                <input class="form-control shipment_sum" type="number" id="total_weight_vol" name="total_weight_vol" readonly>
                              </div>

                              <div class="col-lg-4 col-sm-12">
                                <label class="form-label"><%= lang_data.Total_DecValue %></label>
                                <input class="form-control shipment_sum" type="number" id="total_decvalue" name="total_decvalue" readonly>
                              </div>
                              
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Price_kg %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_price_kg" name="add_price_kg" value="<%= taxe_data.weight_val %>" step="0.01" min="0" readonly>
                                  <input class="form-control register_packages_sum" type="hidden" id="hidden_start_price">
                                  <input class="form-control register_packages_sum" type="hidden" id="hidden_end_price">
                              </div>
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Discount %> (%)</label>
                                  <input class="form-control shipment_sum" type="number" id="add_discount" name="add_discount" value="0" min="0" readonly>
                              </div>
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Value_assured %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_value_assured" name="add_value_assured" value="0" min="0" readonly>
                              </div>
                        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Shipping_Insurance %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_shipping_insurance" name="add_shipping_insurance" value="<%= taxe_data.shipping_insurance %>" min="0" readonly>
                              </div>
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Customs_Duties %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_customs_duties" name="add_customs_duties" value="<%= taxe_data.custom_duties %>" min="0" readonly>
                              </div> 
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Tax %> <%= taxe_data.tax_count == 1 ? "(%)" : "(Fix)" %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_tax" name="add_tax" value="<%= taxe_data.tax %>" min="0" readonly>
  
                                  <input class="form-control" type="hidden" name="tax_count" id="tax_count" value="<%= taxe_data.tax_count %>">
                              </div>
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Declared_value %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_declared_value" name="add_declared_value" value="<%= taxe_data.declared_tax %>" min="0" readonly>
                              </div>
        
                              <div class="col-lg-4 col-sm-12">
                                  <label class="form-label"><%= lang_data.Reissue %></label>
                                  <input class="form-control shipment_sum" type="number" id="add_reissue" value="0" min="0" readonly>
                              </div>
                              
        
                            </div>
                          </div>
                        <% } %>

                        <div class="col-lg-5 col-sm-12 pt-4 px-5">
                          
                          <div class="d-flex justify-content-between mb-1">
                            <h5><%= lang_data.Subtotal %></h5>
                            <div class="input-group input-group-sm w-25"><span class="input-group-text bg-dark"><%= accessdata.data.site_currency %></span>
                              <input class="form-control form-control-sm w-25" id="subtotal" type="number" name="subtotal" value="0.00" readonly>
                            </div>
                          </div>

                          <div class="d-flex justify-content-between mb-1">
                            <h5><%= lang_data.Discount %></h5>
                            <div class="input-group input-group-sm w-25"><span class="input-group-text bg-dark"><%= accessdata.data.site_currency %></span>
                              <input class="form-control form-control-sm w-25" id="discount" type="number" name="discount" value="0.00" readonly>
                            </div>
                          </div>

                          <div class="d-flex justify-content-between mb-1">
                            <h5><%= lang_data.Shipping_Insurance %><i class="fa fa-info-circle" data-bs-toggle="tooltip" data-bs-placement="top" title="(Value assured / 100) * Shipping Insurance"></i></h5>
                            <div class="input-group input-group-sm w-25"><span class="input-group-text bg-dark"><%= accessdata.data.site_currency %></span>
                              <input class="form-control form-control-sm w-25" id="shipping_insurance" type="number" name="shipping_insurance" value="0.00" readonly>
                            </div>
                          </div>

                          <div class="d-flex justify-content-between mb-1">
                            <h5><%= lang_data.Customs_Duties %><i class="fa fa-info-circle" data-bs-toggle="tooltip" data-bs-placement="top" title="(Weight + Weight Vol.) * Customs Duties "></i></h5>
                            <div class="input-group input-group-sm w-25"><span class="input-group-text bg-dark"><%= accessdata.data.site_currency %></span>
                              <input class="form-control form-control-sm w-25" id="customs_duties" type="number" name="customs_duties" value="0.00" readonly>
                            </div>
                          </div>

                          <div class="d-flex justify-content-between mb-1">
                            <h5><%= lang_data.Tax %></h5>
                            <div class="input-group input-group-sm w-25"><span class="input-group-text bg-dark"><%= accessdata.data.site_currency %></span>
                              <input class="form-control form-control-sm w-25" id="tax" type="number" name="tax" value="0.00" readonly>
                            </div>
                          </div>

                          <div class="d-flex justify-content-between mb-1">
                            <h5><%= lang_data.Declared_value %> <i class="fa fa-info-circle" data-bs-toggle="tooltip" data-bs-placement="top" title="(Declared value / 100 ) * Declared value"></i></h5>
                            <div class="input-group input-group-sm w-25"><span class="input-group-text bg-dark"><%= accessdata.data.site_currency %></span>
                              <input class="form-control form-control-sm w-25" id="declared_value" type="number" name="declared_value" value="0.00" readonly>
                            </div>
                          </div>

                          <div class="d-flex justify-content-between mb-1">
                            <h5><%= lang_data.Fixed_charge %></h5>
                            <div class="input-group input-group-sm w-25"><span class="input-group-text bg-dark"><%= accessdata.data.site_currency %></span>
                              <input class="form-control form-control-sm w-25" id="fixed_charge" type="number" name="fixed_charge" value="0.00" readonly>
                            </div>
                          </div>

                          <div class="d-flex justify-content-between mb-1">
                            <h5><%= lang_data.Reissue %></h5>
                            <div class="input-group input-group-sm w-25"><span class="input-group-text bg-dark"><%= accessdata.data.site_currency %></span>
                              <input class="form-control form-control-sm w-25" id="reissue" type="number" name="reissue" value="0.00" readonly>
                            </div>
                          </div>

                          <div class="d-flex justify-content-between mt-2">
                            <h5><%= lang_data.Total %></h5>
                            <div class="input-group input-group-sm w-25"><span class="input-group-text bg-dark"><%= accessdata.data.site_currency %></span>
                              <input class="form-control" id="total" type="number" name="total" value="0.00" readonly>
                            </div>
                          </div>

                        </div>
                      </div>

                      <hr>
                      
                      <div class="col-12">
                          <div class="d-flex align-items-center justify-content-end">
                              <button class="btn btn-square btn-primary btn-air-primary m-r-40" type="button" id="shipment_calculate"><i class="fa fa-building"></i> &nbsp; <%= lang_data.Calculate %></button>
                              <button class="btn btn-square btn-primary btn-air-primary shipment_submit" type="submit" id="shipment_submit"><i class="fa fa-floppy-o"></i> &nbsp; <%= lang_data.Save %></button>
                          </div>
                      </div>

                    </div>
                  </div>
                </div>

                <!-- Scroll - vertical dynamic Ends-->
              </div>
            </form>
          </div>
          <!-- Container-fluid Ends-->
        </div>
        
        <%- include('./partials/footer'); -%>
        
    <%- include('./partials/script'); -%>

  </body>

</html>