EVOLUTION-NINJA
Edit File: madeups_us_preview.php
<div class="page-content-wrapper"> <div class="page-content"> <div class="row" style="text-align: right;"> <button class="btn btn-success btn-lg" onclick="goods_details()" type="button" id="" style=" padding-top: 2px; padding-bottom: 3px; padding-left: 15px; padding-right: 15px; background: rgb(72,91,127); color: white; border: initial !important; font-size: 22px;">Submit </button> <button class="btn btn-success btn-lg" type="button" id="booking_print" style=" padding-top: 2px; padding-bottom: 3px; padding-left: 15px; padding-right: 15px; background: rgb(72,91,127); color: white; border: initial !important; font-size: 22px;">Print </button> <span class="close-right" ><a href="<?php echo base_url('packing_list/madeups_list_data?prop_id=1');?>" style="font-size: 22px;border: 1px solid;padding-left: 15px;padding-right: 15px;background: rgb(72,91,127);color: white;padding-bottom: 7px;text-decoration:none;">Back</a></span></div> <div style="width:800px;" id="print_report"> <div style="border:1px solid #000;"> <div style="clear:both;display:table;width:100%;"> <div style="display:table-cell;width:30%;padding:5px;"> <p style="margin:0px;">DEPARTMENT OF TREASURY</p> <p style="margin:0px;">United States Customs Service</p> <p style="margin:0px;">10 U.S.C. 1481, 1482, 1484</p></p> </div> <div style="display:table-cell;width:48%;text-align:center;padding:5px;vertical-align:bottom;"> <h3 style="margin:0px;">SPECIAL CUSTOMS INVOICE</h3> <p style="margin:0px;font-size:13px;">(Use separate Invoice for purchased and non-purchased goods)</p> </div> <div style="display:table-cell;width:22%;text-align:right;padding:5px;"> <p style="margin:0px;">Form Approved</p> <p style="margin:0px;">O.M.B. No. 48-RO 342</p> <input type="hidden" id="refer_id" value="<?php echo $fetch->id; ?>" > </div> </div> <!-- row 1 --> <div style="clear:both;display:table;width:100%;border-top:1px solid #000;border-bottom:1px solid #000;"> <div style="display:table-cell;width:50%;border-right:1px solid #000;"> <p style="margin:0px;padding:5px;">1. SELLER</p> <b><?php echo 'DECO-TEXTIL' ; ?><br/> <?php echo 'POST BOX 25210' ; ?><br/> <?php echo 'NO.40, 4TH CROSS RESIDENCY ROAD' ; ?><br/> <?php echo 'BANGALORE 560 025 INDIA' ; ?><br/></b> </div> <div style="display:table-cell;width:50%;vertical-align:bottom;"> <div style="clear:both;display:table;width:100%;border-bottom:1px solid #000;"> <div style="display:table-cell;width:40%;border-right:1px solid #000;"> <p style="margin:0px;padding:5px;text-align:left;">2. DOCUMENT NR*</p> </div> <div style="display:table-cell;width:60%;text-align:center;vertical-align:bottom;"> <p style="margin:0px;padding:5px;text-align:left;">3. INVOICE NR. AND DATE</p> <b style="font-size:12px;"><?php echo $fetch->invoice_num; ?> <br/> <?php echo $fetch->invoice_date; ?></b> </div> </div> <p style="margin:0px;padding:5px;text-align:left;">4. REFERENCES*</p> <b ><?php echo $fetch->order_numbner_date; ?></b> </div> </div> <!-- row 2 --> <div style="clear:both;display:table;width:100%;"> <div style="display:table-cell;width:50%;border-right:1px solid #000;"> <p style="margin:0px;padding:5px;">5. CONSIGNEE</p> <b><?php echo $fetch->consignee; ?></b> </div> <div style="display:table-cell;width:50%;text-align:center;vertical-align:bottom;"> <div style="clear:both;display:table;width:100%;border-bottom:1px solid #000;"> <p style="margin:0px;padding:5px;text-align:left;">6. BUYER (if other than consignee)</p> <b><?php echo $fetch->buyer_consignee_preview; ?></b> </div> <p style="margin:0px;padding:5px;text-align:left;">7. ORIGIN OF GOODS<br><b>INDIA</b></p> </div> </div> <!-- row 3 --> <div style="clear:both;display:table;width:100%;border-top:1px solid #000;border-bottom:1px solid #000;"> <div style="display:table-cell;width:50%;border-right:1px solid #000;"> <p style="margin:0px;padding:5px;">8. NOTIFY PARTY*</p> <p style="margin:0px;padding:5px;"><textarea rows="3" id="us_notify_party" style="width:100%;"><?php echo $fetch->us_notify_party; ?></textarea></p> </div> <div style="display:table-cell;width:50%;"> <p style="margin:0px;padding:5px;text-align:left;">9. TERMS OF SALE, PAYMENT AND DISCOUNT</p> <b ><?php echo $fetch->delivery_payment_preview; ?></b> </div> </div> <!-- row 4 --> <div style="clear:both;display:table;width:100%;"> <div style="display:table-cell;width:50%;border-right:1px solid #000;"> <p style="margin:0px;padding:5px;">10. ADDITIONAL TRANSPORTATION INFORMATION*</p> </div> <div style="display:table-cell;width:16%;text-align:center;"> <p style="margin:0px;padding:5px;text-align:center;">11. Currency Used</p> </div> <div style="display:table-cell;width:18%;text-align:center;border-left:1px solid #000;border-right:1px solid #000;"> <p style="margin:0px;padding:5px;text-align:center;">12. Exch. Rate<br>(if fixed or agreed)</p> </div> <div style="display:table-cell;width:16%;text-align:center;"> <p style="margin:0px;padding:5px;text-align:center;">13. Date order accepted</p> </div> </div> <!-- row 5 --> <div style=""> <table border="1" style="border-collapse: collapse;"> <tr> <td rowspan="2" style="padding:5px;text-align:center;border-left:initial;">14 Marks and Numbers on Shipping Packages</td> <td rowspan="2" style="padding:5px;text-align:center;">15 No. of Packages</td> <td rowspan="2" style="padding:5px;text-align:center;">16 Full Description of Goods</td> <td rowspan="2" style="padding:5px;text-align:center;width: 97px;">17 Quantity</td> <td colspan="2" style="padding:5px;text-align:center;">Unit Price</td> <td rowspan="2" style="padding:5px;text-align:center;border-right:initial;width: 63px;">20 Invoice Total</td> </tr> <tr> <td style="padding:5px;text-align:center;">18 Home Market</td> <td style="padding:5px;text-align:center;">19 Invoice</td> </tr> <tr style="border-bottom:1px solid transparent;padding-bottom:15px;"> <td style="padding-bottom:15px;"><b><?php echo $fetch->invoice_num . '/1-' . $count_package_fetch_invoice ; ?></b></td> <td style="padding-bottom:15px;"><?php echo $fetch->card_board; ?></td> <td style="padding-bottom:15px;"><?php echo $fetch->card_board_box; ?></td> <td style="padding-bottom:15px;"></td> <td style="padding-bottom:15px;"></td> <td style="padding-bottom:15px;"></td> <td style="padding-bottom:15px;"></td> </tr><br/> <?php $i=1; foreach($fetch_invoice as $key=>$val) { ?> <tr style="border-top:1px solid transparent;"> <td style="font-size:14px;"><b><?php echo $i; ?>       <?php echo $val->width; ?></b></td> <td style="font-size:14px;"></td> <td style="font-size:14px;"><b><?php if($val->description == '') { if(empty($marketing[$key])) { } else { echo $marketing[$key]->description; } } else { echo $val->description; } ?></b></td> <td style="font-size:14px;"><b><?php if(empty($marketing[$key])) { echo number_format($val->stock_qty,2); } else { echo number_format($val->stock_qty,2) . ' ' . $marketing[$key]->unit; } ?></b></td> <td style="font-size:14px;"></td> <td style="font-size:14px;"><b><?php echo $val->unitprice; ?></b></td> <td colspan="" style="font-size:14px;"><b><?php echo number_format($val->values_es,2); ?></b></td> </tr> <?php $i++; } ?> <tr > <td style="border-right:1px solid transparent;"></td> <td style="border-right:1px solid transparent;"><b>Total</b></td> <td style=""></td> <td style="font-size: 15px;"><b><?php echo number_format((float) $fetch_sum_pcs_invoice->stock_qty, 2, '.', '') . ' ' . $units_val; ?></b></td> <td></td> <td></td> <td style="font-size: 15px;"><b><?php echo number_format((float) $fetch_sum_amt_invoice->values_es, 2, '.', ''); ?></b></td> </tr> </table> </div> <!-- row 6 --> <div style="clear:both;display:table;width:100%;"> <div style="display:table-cell;width:70%;border-right:1px solid #000;"> <p style="margin:0px;padding:5px;"> 21 If the production of these goods involved furnishing goods or services to the seller (e.g. assists) such as dies molds, tools, engineering work) and the value is not included in the invoice price, check box (21) and explain below. </p> <p style="margin:0px;padding:5px;text-align:center;border-bottom:1px solid #000;border-top:1px solid #000;"> 27. DECLARATION OF SELLER/SHIPPER (OR AGENT) </p> <div style="clear:both;display:table;width:100%;"> <div style="display:table-cell;width:50%;"> <p style="margin:0px;padding:0px 5px;">I declare:</p> <p style="margin:0px;padding:0px 5px;">(A) If there are any rebates drawbacks or bounties allowed upon the exportation of goods, I have checked box (A) and itemized separately below.</p> <p style="margin:0px;padding:0px 5px;">I further declare that there is no other invoice differing from this one (unless otherwise described below) and that all statements contained in this invoice and declaration are true and correct.</p> </div> <div style="display:table-cell;width:50%;"> <p style="margin:0px;padding:0px 5px;">(B) If the goods were not sold or agreed to be sold. I have checked box (B) and have indicated in column 19 the price I would be willing to receive.</p> <p style="margin:0px;padding:0px 5px;">(C) SIGNATURE OF SELLER/SHIPPER (OR AGENT)</p> </div> </div> </div> <div style="display:table-cell;width:30%;text-align:center;"> <div style="clear:both;display:table;width:100%;border-bottom:1px solid #000;"> <div style="display:table-cell;width:50%;"> <p style="margin:0px;padding:5px;border-right:1px solid #000;text-align:left;">22. Packing Costs</p> </div> <div style="display:table-cell;width:50%;"> </div> </div> <div style="clear:both;display:table;width:100%;border-bottom:1px solid #000;"> <div style="display:table-cell;width:50%;"> <p style="margin:0px;padding:5px;border-right:1px solid #000;text-align:left;">23. Ocean or International Freight</p> </div> <div style="display:table-cell;width:50%;"> </div> </div> <div style="clear:both;display:table;width:100%;border-bottom:1px solid #000;"> <div style="display:table-cell;width:50%;"> <p style="margin:0px;padding:5px;border-right:1px solid #000;text-align:left;">24. Domestic Freight Charges</p> </div> <div style="display:table-cell;width:50%;"> </div> </div> <div style="clear:both;display:table;width:100%;border-bottom:1px solid #000;"> <div style="display:table-cell;width:50%;"> <p style="margin:0px;padding:5px;border-right:1px solid #000;text-align:left;">25. Insurance Costs</p> </div> <div style="display:table-cell;width:50%;"> </div> </div> <div style="clear:both;display:table;width:100%;"> <div style="display:table-cell;width:50%;"> <p style="margin:0px;padding:5px;border-right:1px solid #000;text-align:left;">26. Other Costs(Specify Below)</p> </div> <div style="display:table-cell;width:50%;"> </div> </div> </div> </div> <!-- row 7 --> <div style="border-top:1px solid #000;border-bottom:1px solid #000;height:50px;"> <p style="margin:0px;padding:5px;">28. THIS SPACE FOR CONTINUING ANSWERS</p> </div> <!-- row 8 --> <div style="border-bottom:1px solid #000;"> <p style="margin:0px;padding:5px;text-align:center;font-size:13px;">This Form of Invoice required Generally if rate of duty based upon or regulated by value of goods and purchase price or value of shipment exceeds $500 Otherwise use commercial Invoice.</p> </div> <!-- row 8 --> <div style="clear:both;"> <p style="margin:0px;padding:5px;"><span><strong>* Not Necessary for U.S. Customs purposes</strong></span> <span style="float: right;"><strong>Customs Form 5515 (12-20-76)</strong></span></p> </div> <!-- row 8 --> </div> </div> </div> </div> <script type="text/javascript" src="<?php echo base_url('assets/js/jquery-3.2.1.min.js');?>"></script> <script src="<?php echo base_url('assets/js/bootstrap.min.js');?>"></script> <script src="<?php echo base_url(); ?>assets/js/sweetalert.min.js" type="text/javascript"></script> <link href="<?php echo base_url(); ?>assets/css/sweetalert.min.css" rel="stylesheet" type="text/css" > <script> $(document).ready(function(){ $("#booking_print").click(function(){ $("textarea").css({"resize": "none"}); $("textarea").css({"border": "none"}); var divToPrint=document.getElementById("print_report"); newWin= window.open(""); newWin.document.write(divToPrint.outerHTML); newWin.print(); newWin.close(); }); }); function goods_details() { var us_notify_party=$('#us_notify_party').val(); var refer_id=$('#refer_id').val(); $.ajax({ url:"<?php echo base_url('packing_list/add_madeups_us_data');?>", type:"POST", data:{'us_notify_party':us_notify_party,'refer_id':refer_id}, async:false, success:function(data) { swal({ title: "Added Sucessfully", text: "", }); } }); } </script>