protected bool UpdateOrderPOPayment(string po_number, string po_filename, byte[] po_file_upload,string potype) { if(CurrentCart.Payment.ORD_PAYMENT_ID != 0) { CartDB db = new CartDB(); return db.Order_Update_POPayment(CurrentCart.Payment.ORD_PAYMENT_ID, po_number, po_filename, po_file_upload, po_file_upload != null && po_file_upload.Length > 0 ? 1 : 0, potype); } return false; }