<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/2.2.2/css/dataTables.dataTables.min.css">
<script src="https://cdn.datatables.net/2.2.2/js/dataTables.min.js"></script>
<script src="https://cdn.datatables.net/fixedheader/3.3.1/js/dataTables.fixedHeader.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/fixedheader/4.0.1/css/fixedHeader.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/responsive/3.0.4/css/responsive.dataTables.min.css">
<script src="https://cdn.datatables.net/responsive/3.0.4/js/dataTables.responsive.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/rowreorder/1.5.0/css/rowReorder.dataTables.min.css">
<script src="https://cdn.datatables.net/rowreorder/1.5.0/js/dataTables.rowReorder.min.js"></script>
</head>
<style>
</style>
<body>
<div class="data-table table-responsive ">
<table class="table tableStandard table-bordered border-dark mt-0 align-middle airtable" id="aircraftTypeTable">
<thead class="text-center">
<tr>
<th rowspan="2" class="px-1 align-middle">Id</th>
<th rowspan="1" class="px-5 align-middle" colspan="3">Aircraft Type</th>
<th rowspan="1" class="px-5 align-middle" colspan="3">Airline</th>
<th rowspan="2" class="px-5 align-middle" nowrap="nowrap">Sub Fleet</th>
<th rowspan="1" class="px-5 align-middle" colspan="4">Default Configuration</th>
<th colspan="2" class="px-5 align-middle" nowrap="nowrap">FCM Requirements</th>
<th colspan="2" class="px-5 align-middle" nowrap="nowrap">CCM Requirements</th>
<th colspan="2" class="px-5 align-middle" nowrap="nowrap"> Configuration</th>
<th rowspan="1" class="px-5 align-middle" colspan="5">Specialization</th>
<th rowspan="2" class="px-5 align-middle" nowrap="nowrap">Action</th>
</tr>
<tr>
<th class="px-5 align-middle" nowrap="nowrap">Name</th>
<th class="px-5 align-middle" nowrap="nowrap">IATA</th>
<th class="px-5 align-middle" nowrap="nowrap">ICAO</th>
<th class="px-5 align-middle" nowrap="nowrap">Airline</th>
<th class="px-5 align-middle" nowrap="nowrap">IATA</th>
<th class="px-5 align-middle" nowrap="nowrap">ICAO</th>
<th class="px-5 align-middle" nowrap="nowrap">F</th>
<th class="px-5 align-middle" nowrap="nowrap">C</th>
<th class="px-5 align-middle" nowrap="nowrap">W</th>
<th class="px-5 align-middle" nowrap="nowrap">Y</th>
<th class="px-5 align-middle" nowrap="nowrap">Minimum</th>
<th class="px-5 align-middle" nowrap="nowrap">Policy</th>
<th class="px-5 align-middle" nowrap="nowrap">Minimum</th>
<th class="px-5 align-middle" nowrap="nowrap">Policy</th>
<th class="px-5 align-middle" nowrap="nowrap">Crew</th>
<th class="px-5 align-middle" nowrap="nowrap">passenger</th>
<th class="px-5 align-middle" nowrap="nowrap">Speed</th>
<th class="px-5 align-middle" nowrap="nowrap">Ceiling</th>
<th class="px-5 align-middle" nowrap="nowrap">Range</th>
<th class="px-5 align-middle" nowrap="nowrap">MTOW</th>
<th class="px-5 align-middle" nowrap="nowrap">Landing Weight</th>
</tr>
</thead>
</table>
</div>
</body>
</html>
#aircraftTypeTable {
border: 2px solid black;
border-collapse: collapse;
width: 100%;
}
#aircraftTypeTable {
white-space: nowrap;
}
div.dataTables_wrapper {
overflow-x: auto;
}
#aircraftTypeTable th, #aircraftTypeTable td {
border: 1px solid black;
padding: 8px;
}
.dataTables_wrapper .dataTables_scrollHead {
border-bottom: 2px solid black;
}
.dt-scroll-head {
background-color: #fff;
position: sticky !important;
top: 0;
z-index: 999;
}
$(document).ready(function() {
var staticData = [
{ "id": 347, "name": "Boeing 747-8", "airline_id": 77, "aircraft_type_master_id": null, "iata_name": null, "icao": "7M9", "sub_fleet_id": null, "wide_board": 0, "flexi_config": 0, "config_a": null, "config_c": 0, "config_w": null, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2025-02-14T05:29:04.000000Z", "updated_at": "2025-02-14T05:29:04.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/77\" target=\"_blank\">Icelandair<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/77\" target=\"_blank\">FI<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/77\" target=\"_blank\">ICE<\/a>", "sub_fleet": "-", "DT_RowIndex": 1 },
{ "id": 346, "name": "Antonov AN-225 Mriya", "airline_id": 2, "aircraft_type_master_id": 8, "iata_name": "A5F", "icao": "A225", "sub_fleet_id": 19, "wide_board": 0, "flexi_config": 0, "config_a": 980, "config_c": 0, "config_w": 7, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": 6, "policy_ccm": 0, "min_fcm": 8, "policy_fcm": 0, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2025-02-13T15:52:00.000000Z", "updated_at": "2025-02-13T15:52:00.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 2 },
{ "id": 345, "name": "Airbus A320neo", "airline_id": 77, "aircraft_type_master_id": null, "iata_name": null, "icao": "B38M", "sub_fleet_id": 18, "wide_board": 0, "flexi_config": 0, "config_a": null, "config_c": 0, "config_w": null, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2025-01-24T10:25:13.000000Z", "updated_at": "2025-01-31T15:03:27.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/77\" target=\"_blank\">Icelandair<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/77\" target=\"_blank\">FI<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/77\" target=\"_blank\">ICE<\/a>", "sub_fleet": null, "DT_RowIndex": 3 },
{ "id": 344, "name": "Boeing 737 MAX 8", "airline_id": 77, "aircraft_type_master_id": null, "iata_name": null, "icao": "7M8", "sub_fleet_id": null, "wide_board": 0, "flexi_config": 0, "config_a": null, "config_c": 0, "config_w": null, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2025-01-24T10:25:11.000000Z", "updated_at": "2025-01-24T10:25:11.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/77\" target=\"_blank\">Icelandair<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/77\" target=\"_blank\">FI<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/77\" target=\"_blank\">ICE<\/a>", "sub_fleet": "-", "DT_RowIndex": 4 },
{ "id": 343, "name": "Airbus A330-300", "airline_id": 72, "aircraft_type_master_id": null, "iata_name": null, "icao": "A320", "sub_fleet_id": null, "wide_board": 0, "flexi_config": 0, "config_a": null, "config_c": 0, "config_w": null, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2025-01-16T11:17:02.000000Z", "updated_at": "2025-01-16T11:17:02.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/72\" target=\"_blank\">Air Europa<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/72\" target=\"_blank\">UX<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/72\" target=\"_blank\">AEA<\/a>", "sub_fleet": "-", "DT_RowIndex": 5 },
{ "id": 342, "name": "Boeing 787 Dreamliner", "airline_id": 58, "aircraft_type_master_id": null, "iata_name": null, "icao": "32S", "sub_fleet_id": null, "wide_board": 0, "flexi_config": 0, "config_a": null, "config_c": 0, "config_w": null, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-12-29T02:05:04.000000Z", "updated_at": "2024-12-29T02:05:04.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/58\" target=\"_blank\">Nesma Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/58\" target=\"_blank\">NE<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/58\" target=\"_blank\">NMA<\/a>", "sub_fleet": "-", "DT_RowIndex": 6 },
{ "id": 341, "name": "Airbus A321neo", "airline_id": 72, "aircraft_type_master_id": null, "iata_name": null, "icao": "A321", "sub_fleet_id": null, "wide_board": 0, "flexi_config": 0, "config_a": null, "config_c": 0, "config_w": null, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-30T17:51:27.000000Z", "updated_at": "2024-11-30T17:51:27.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/72\" target=\"_blank\">Air Europa<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/72\" target=\"_blank\">UX<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/72\" target=\"_blank\">AEA<\/a>", "sub_fleet": "-", "DT_RowIndex": 7 },
{ "id": 339, "name": "Boeing 777-300ER", "airline_id": 56, "aircraft_type_master_id": null, "iata_name": null, "icao": "32A", "sub_fleet_id": null, "wide_board": 0, "flexi_config": 0, "config_a": null, "config_c": 0, "config_w": null, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-24T21:08:20.000000Z", "updated_at": "2024-11-24T21:08:20.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/56\" target=\"_blank\">IBERIA EXPRESS<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/56\" target=\"_blank\">I2<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/56\" target=\"_blank\">IBS<\/a>", "sub_fleet": "-", "DT_RowIndex": 8 },
{ "id": 338, "name": "Airbus A350-900", "airline_id": 72, "aircraft_type_master_id": null, "iata_name": null, "icao": "A333", "sub_fleet_id": null, "wide_board": 0, "flexi_config": 0, "config_a": null, "config_c": 0, "config_w": null, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-24T00:01:21.000000Z", "updated_at": "2024-11-24T00:01:21.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/72\" target=\"_blank\">Air Europa<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/72\" target=\"_blank\">UX<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/72\" target=\"_blank\">AEA<\/a>", "sub_fleet": "-", "DT_RowIndex": 9 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 10 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 11 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 12},
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 13 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 14 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 15 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 16 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 17 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 18 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 19 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 20 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 21 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 22 },
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 24},
{ "id": 335, "name": "Antonov AN-140", "airline_id": 2, "aircraft_type_master_id": 2, "iata_name": "A40", "icao": "A140", "sub_fleet_id": 12, "wide_board": 0, "flexi_config": 0, "config_a": 99, "config_c": 0, "config_w": 11, "config_y": 180, "config_a_details": null, "config_c_details": null, "config_w_details": null, "config_y_details": null, "min_ccm": null, "policy_ccm": null, "min_fcm": null, "policy_fcm": null, "wake_category": null, "details": null, "crew": null, "passenger": null, "speed": null, "ceiling": null, "range": null, "mtow": null, "landing_weight": null, "created_at": "2024-11-19T16:42:15.000000Z", "updated_at": "2024-11-19T16:44:01.000000Z", "deleted_at": null, "airline": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">Star East Airlines<\/a>", "airline_iata": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">4R<\/a>", "airline_icao": "<a href=\"http:\/\/ams.test\/admin\/airlines\/list\/2\" target=\"_blank\">SEK<\/a>", "sub_fleet": null, "DT_RowIndex": 25 },
];
var ATtable = $('#aircraftTypeTable').DataTable({
data: staticData,
searching: true,
enableExport: true,
paging: true,
pageLength: 500,
lengthMenu: [
[10, 25, 50, 100, 500, -1],
[10, 25, 50, 100, 500, "All"]
],
dom: 'lfrtip',
// fixedHeader: true,
fixedColumns: {
leftColumns: 2
},
// fixedHeader: {
// header: true,
// },
scrollX: true,
autoWidth: true,
scrollCollapse: true,
"columns": [{
"data": "DT_RowIndex",
"orderable": false,
},
{
"data": "name",
"class": "text-nowrap text-start",
"orderable": true,
},
{
"data": "iata_name",
"orderable": true,
},
{
"data": "icao",
"orderable": true,
},
{
"data": "airline",
"class": "text-nowrap text-start",
"orderable": true,
},
{
"data": "airline_iata",
"orderable": true,
},
{
"data": "airline_icao",
"orderable": true,
},
{
"data": "sub_fleet",
"class": "text-nowrap text-start"
},
{
"data": "config_a"
},
{
"data": "config_c"
},
{
"data": "config_w"
},
{
"data": "config_y"
},
{
"data": "min_ccm"
},
{
"data": "policy_ccm"
},
{
"data": "min_fcm"
},
{
"data": "policy_fcm"
},
{
"data": "crew"
},
{
"data": "passenger"
},
{
"data": "speed"
},
{
"data": "ceiling"
},
{
"data": "range"
},
{
"data": "mtow"
},
{
"data": "landing_weight"
},
{
"data": null,
"class": "text-nowrap",
"orderable": false,
"searchable": false,
"render": function(data, type, row) {
var buttons = '';
buttons += '<button id="editBtn_' + row.id +
'" class="w-45px rounded-start editBtn" onclick="editAircraftType(' +
row.id + ')">Edit</button>';
buttons += '<button id="deleteBtn_' + row.id +
'" class="w-45px rounded-end deleteBtn" data-id="' + row.id +
'">Delete</button>';
return buttons || '-'; // Return '-' if no buttons
}
}
],
});
// Export to CSV
$('.exportCsv').on('click', function() {
ATtable.button('.buttons-csv').trigger(); // Trigger CSV export
});
// Export to Excel
$('.exportExcel').on('click', function() {
ATtable.button('.buttons-excel').trigger(); // Trigger Excel export
});
// Export to PDF
$('.exportPdf').on('click', function() {
ATtable.button('.buttons-pdf').trigger(); // Trigger PDF export
});
// Trigger Copy to Clipboard
$('.copyToClipboard').on('click', function() {
ATtable.button('.buttons-copy').trigger();
});
// ATtable.fixedHeader.adjust();
// $(window).on('resize', function() {
// ATtable.columns.adjust();
// ATtable.fixedHeader.adjust();
// });
// $(window).on('scroll', function() {
// if (ATtable) {
// ATtable.fixedHeader.adjust();
// if (ATtable.fixedColumns) {
// ATtable.columns.adjust(); // This is the correct way to adjust columns
// }
// }
// });
// $('[data-kt-docs-table-filter="search"]').on('keyup', function() {
// var searchText = $(this).val();
// ATtable.search(searchText).draw();
// });
$('#aircraftTypeTable').on('click', '[id^="deleteBtn_"]', function() {
if (confirm('Are you sure you want to delete this Aircraft type?')) {
var id = $(this).attr('data-id');
$.ajax({
url: '/aircraft-type/delete/' + id,
type: 'POST',
data: {
'_method': 'DELETE'
},
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
success: function(response) {
setTimeout(function() {
location.reload();
}, 1000);
},
error: function(xhr, status, error) {
console.error('Error deleting Aircraft type', error);
toastr.error("Failed to delete Aircraft type.");
}
});
}
});
$(document).on('click', '#addAircraftType', function(e) {
$("#modalLable").text("Add Aircraft Type");
$("#actionBtn").text("Save");
$("#addAircraftTypeModal").modal('show');
});
$(document).on("change", "#airline_id", function() {
var edit_id = $('#editAircraftTypeId').val() ?? "";
var airline_id = $(this).val() ?? "";
if (airline_id != "") {
$.ajax({
url: "{{ route('admin.airlineSubFleets') }}",
method: 'GET',
data: {
airline_id: airline_id,
edit_id: edit_id,
},
success: function(response) {
var sub_fleet_id = $('#sub_fleet_id');
sub_fleet_id.empty();
sub_fleet_id.append(response)
},
error: function(xhr, status, error) {
Swal.fire({
icon: 'error',
title: 'Error',
text: 'Failed to fetching master aircraft type'
});
}
});
}
});
});
You can jump to the latest bin by adding /latest
to your URL
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + [ | Indents selected lines |
ctrl + ] | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Clone Bin |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |