$start &&= "AND cust_credit_bill._date <= $start";
$end &&= "AND cust_credit_bill._date > $end";
$start = '' unless defined($start);
$start &&= "AND cust_credit_bill._date <= $start";
$end &&= "AND cust_credit_bill._date > $end";
$start = '' unless defined($start);