<?php 
include('authentication.php');
include('includes/header.php');
include('includes/topbar.php');
include('includes/sidebar.php');
?>

<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1 class="m-0">Add Bill And Packing Slip</h1>
                </div><!-- /.col -->
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a href="#">Home</a></li>
                        <li class="breadcrumb-item active">Offer</li>
                    </ol>
                </div><!-- /.col -->
            </div><!-- /.row -->
        </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->
    <!-- Main content -->
    <section class="content">
        <div class="container-fluid">



            <div class="card">
                <div class="card-header">
                    <h4>
                        Add Offer
                        <a href="offers.php" class="btn btn-danger float-sm-right">BACK</a>
                    </h4>
                </div>
                <div class="card-body">
                    <form action="code.php" method="POST" id="catform" enctype="multipart/form-data">
                     
                      
                            <div class="mb-3">
                              <label for="packing_slip" class="form-label">Choose Packing Slip</label>
                              <input class="form-control form-control-sm" id="packing_slip" name="packing_slip" type="file">
                            </div>
                      
                        <div class="input-group">
                            <div class="custom-file">
                                <label for="file-upload" class="custom-file-label" for="photo">Choose Bill</label>
                                <input type="file" id="file-upload" class="custom-file-input" name="bill"
                                    id="photo" required>
                            </div>
                        </div>
                        <div class="form-group mt-3">
                            <button type="submit" value="<?=$_GET['id']?>" name="add_packing_slip_btn"
                                class="btn btn-primary float-sm-right">Submit</button>
                        </div>
                    </form>
                </div>

            </div>
        </div>


    </section>
</div><!-- /.container-fluid -->

<?php
include('includes/script.php');
include('includes/footer.php');
?>