Completed
Push — master ( 01b597...7bbe3c )
by
unknown
14:08
created
includes/librairies/purchase/orders.class.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 
262 262
 
263 263
 	/** Renvoi une nouvelle r�f�rence unique pour une commande
264
-	* @return int
264
+	* @return string
265 265
 	*/
266 266
 	public static function get_new_order_reference(){
267 267
 		$number_figures = get_option('wpshop_order_number_figures', false);
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
 	}
283 283
 
284 284
 	/** Renvoi une nouvelle r�f�rence unique pour un devis
285
-	* @return int
285
+	* @return string
286 286
 	*/
287 287
 	public static function get_new_pre_order_reference($save = true){
288 288
 		$number_figures = get_option('wpshop_order_number_figures', false);
@@ -662,6 +662,10 @@  discard block
 block discarded – undo
662 662
 
663 663
 		return $output;
664 664
 	}
665
+
666
+	/**
667
+	 * @param boolean $state
668
+	 */
665 669
 	static function display_customer_pay_quotation( $state, $oid ) {
666 670
 		$btn = '<p><a role="button" data-nonce="' . wp_create_nonce( 'wps_quotation_is_payable_by_customer' ) . '" class="wps-bton-' . ( ( $state ) ? 'third' : 'second' ) . '-mini-rounded quotation_is_payable_by_customer" href="#" >'.__('Valid quotation', 'wpshop').'</a></p>';
667 671
 		if( $state ) {
Please login to merge, or discard this patch.