Ghi chú - leqviet/wikidls GitHub Wiki
1/ Hiện thị ngày theo định dạng ra ngoài: date('d/m/Y', strtotime(
4/ sửa reset form tham khảo ở index/organization
$dataContentMail=array( "mail_subject"=>"Thay đổi mật khẩu", "mail_content"=>"test code"); $customerData = $customer->getCustomerByUserId($arrInput['user_id']) ;
$this->sendMail($customerData->cus_email, $dataContentMail);
5/ sửa giá tiền từ số sang chữ $valueWords = $this->convertNumberToWords( $data["amount"]); $data["amount_word"] = $valueWords; // works
6/ echo ""; print_r($data); echo ""; exit;
$('select').select2();
7/ number_format
function numberWithCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
$('#categorytranining_form').serialize()
8/ loadLawyerWithoutTrainingByFilter where NOT IN(?) ->where('customers.cus_id NOT IN (?)', $ids);
<textarea id="cus_address_resident_now" name="cus_address_resident_now" class="span8" placeholder="Vui lòng nhập địa chỉ cư trú" ></textarea>$this->arrInput['cat_train_name']