<?php $bikri = "selected"; include 'template/blankStart.php'; ?> <link rel="stylesheet" href="../view/template/css/table-panel.css"> <?php include_once '../view/sections/sell-nav.php'; include 'sections/modals/sell-modals.php'; include_once dirname(__FILE__) . "/../model/client.php"; if ($_POST) { include_once dirname(__FILE__) . "/../model/sell.php"; $sell = new Sell($_POST["clientName"]); $sell->makeSell(); echo "<span id=\"success\"></span>"; //initiate memo making process //get a new memo number //using the client name get his past due //then calulate the new due step by step // { // each of the products should be saved in the log // the raw total is calculated // } } ?> <!--================================= modals =================================--> <div class="modal fade" id="successModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content">