@extends('layouts.vendor.app')

@section('title','')

@push('css_or_js')
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <style type="text/css" media="print">
        @page {
            size: A5 portrait;
            margin: 6mm;
        }

    </style>
@endpush


@section('content')

@include('admin-views.order.partials._invoice')

@endsection

@push('script')
    <script>
        "use strict";
        function printDiv(divName) {
            let printContents = document.getElementById(divName).innerHTML;
            let originalContents = document.body.innerHTML;
            document.body.innerHTML = printContents;
            window.print();
            document.body.innerHTML = originalContents;
        }
    </script>
@endpush
