<commit_before>@extends('layouts.app')

@push('styles')
  <style>
    @media print {
        th {font-size: 10px;padding-left: 1em;}
        td {font-size: 10px;padding-left: 1em;}
        th.thname {font-size: 12px;padding-left: 0em;text-align: left;}
        h1 {font-size: 18px;}
        h2 {font-size: 16px;}
        h3 {font-size: 14px;}
        .indent1 {padding-left: 2em;}
        #print-button {display: none;}
        #divhdr {display: none;}
        @page {size: landscape;}
    }
    @media screen {
         th {font-size: 12px;padding-left: 20px;}
         td {font-size: 12px;padding-left: 20px;}
         th.thname {font-size: 14px;padding-left: 0px;text-align: left;}
         h1 {font-size: 20px;}
         h2 {font-size: 18px;}
         h3 {font-size: 16px;}
         .indent1 {padding-left: 20px;}
    }
    body {margin: 0px;font-family: Arial, Helvetica, sans-serif;}
    table {border-collapse: collapse;}
    .right {text-align: right;}
    .left {text-align: left;}
    .bordertop {border-top: black;border-top-style: solid;border-top-width: 1px;}
  </style>
@endpush

@push('scripts')
  <script>
    function filterByMember(memberId) {
      var form = document.getElementById('inform');
      form.elements["filterByMemberId"].value = memberId;
      form.submit();
      return false;
    }

    function clearFilterByMember() {
      var form = document.getElementById('inform');
      form.elements["filterByMemberId"].value = null;
      form.submit();
    }
  </script>
@endpush

@section('content')
  <!-- Header -->
  <div id='divhdr'>
    {!! Form::open(['route' => 'flights.allFlightsReport', 'method'=> 'post', 'id' => 'inform']) !!}
      <h2>All Flights Report</h2>
      <table>
        <tr>
          <td>{!! Form::label('fromdate', 'From:') !!}</td>
          <td>{!! Form::date('fromdate',  $strDateFrom, ['id' => 'fmdate']) !!}</td>
        </tr>
        <tr>
          <td>{!! Form::label('todate', 'To:') !!}</td><commit_msg>Add missing function printit().<commit_after>@extends('layouts.app')

@push('styles')
  <style>
    @media print {
        th {font-size: 10px;padding-left: 1em;}
        td {font-size: 10px;padding-left: 1em;}
        th.thname {font-size: 12px;padding-left: 0em;text-align: left;}
        h1 {font-size: 18px;}
        h2 {font-size: 16px;}
        h3 {font-size: 14px;}
        .indent1 {padding-left: 2em;}
        #print-button {display: none;}
        #divhdr {display: none;}
        @page {size: landscape;}
    }
    @media screen {
         th {font-size: 12px;padding-left: 20px;}
         td {font-size: 12px;padding-left: 20px;}
         th.thname {font-size: 14px;padding-left: 0px;text-align: left;}
         h1 {font-size: 20px;}
         h2 {font-size: 18px;}
         h3 {font-size: 16px;}
         .indent1 {padding-left: 20px;}
    }
    body {margin: 0px;font-family: Arial, Helvetica, sans-serif;}
    table {border-collapse: collapse;}
    .right {text-align: right;}
    .left {text-align: left;}
    .bordertop {border-top: black;border-top-style: solid;border-top-width: 1px;}
  </style>
@endpush

@push('scripts')
  <script>
    function filterByMember(memberId) {
      var form = document.getElementById('inform');
      form.elements["filterByMemberId"].value = memberId;
      form.submit();
      return false;
    }

    function clearFilterByMember() {
      var form = document.getElementById('inform');
      form.elements["filterByMemberId"].value = null;
      form.submit();
    }

    function printit(){
      window.print();
    }
  </script>
@endpush

@section('content')
  <!-- Header -->
  <div id='divhdr'>
    {!! Form::open(['route' => 'flights.allFlightsReport', 'method'=> 'post', 'id' => 'inform']) !!}
      <h2>All Flights Report</h2>
      <table>
        <tr>
          <td>{!! Form::label('fromdate', 'From:') !!}</td>
          <td>{!! Form::date('fromdate',  $strDateFrom, ['id' => 'fmdate']) !!}</td>
        </tr>
        <tr>
          <td>{!! Form::label('todate', 'To:') !!}</td>
{'fraction_non_alphanumeric': 0.1886369299775729, 'fraction_numerical': 0.02342387241465238, 'mean_word_length': 2.606469002695418, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6029859', 'n_tokens_mistral': 1459, 'n_tokens_neox': 1371, 'n_words': 287}