created css files for states displays
This commit is contained in:
@@ -28,7 +28,7 @@ function prof_after_form_CIPF($form_id, $post_array, $form_type) {
|
||||
* reset cgv
|
||||
*
|
||||
*/
|
||||
update_field($acf_cgv['_name'], array(""), $acf_id);
|
||||
update_field($acf_cgv['_key'], array(""), $acf_id);
|
||||
|
||||
|
||||
/*
|
||||
@@ -38,9 +38,6 @@ function prof_after_form_CIPF($form_id, $post_array, $form_type) {
|
||||
* if transfert $ expired card : 'waiting_invalid'
|
||||
* if transfert $ valid card : 'waiting_valid'
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
if (is_payment_method_paypal_CIPF()) {
|
||||
if (is_account_new_CIPF()) {
|
||||
|
||||
@@ -177,7 +177,11 @@ function prof_profil_scripts_CIPF() {
|
||||
$author_id = get_queried_object_id();
|
||||
$cipf_prof = new PLGNTLS_class();
|
||||
|
||||
$cipf_prof->add_to_front();
|
||||
$cipf_prof->add_to_front(
|
||||
array(
|
||||
'css/display_states/paiement_reussi.css',
|
||||
)
|
||||
);
|
||||
}
|
||||
add_action('wp_enqueue_scripts', 'prof_profil_scripts_CIPF', 11);
|
||||
|
||||
|
||||
@@ -11,30 +11,30 @@ if (!defined('ABSPATH')) {
|
||||
|
||||
/*
|
||||
* [/] etat compte ('etat_compte') :
|
||||
* 1. new . 'nouveau prof' -> ok 1/1 : [1: a l'inscription - ok]
|
||||
* 2. to_pay . 'doit payer' -> ko 3/4 : [1: after form & new - ok], [2: after form choose paypal & expired - ok], [3: after payment failed - ok], [4: after transfert failed - ko]
|
||||
* 3. valid . 'carte valide' -> ko 1/2 : [1: after payment success - ok], [2: after transfert success - ko]
|
||||
* 4. waiting_invalid . 'en attente invalide' -> ok 1/1 : [1: after form choose transfert & expired - ok]
|
||||
* 5. waiting_valid . 'en attente valide' -> ok 1/1 : [1: after form choose transfert & not expired - ok]
|
||||
* 6. expired . 'carte expiree' -> ko 1/2 : [1: when prof access profil & expired - ok], [2: when event card expired fire - ko]
|
||||
* 1. new . 'nouveau prof' -> ok 1/1 : [1: a l'inscription - ok]
|
||||
* 2. to_pay . 'doit payer' -> ko 3/4 : [1: after form & new - ok], [2: after form choose paypal & expired - ok], [3: after payment failed - ok], [4: after transfert failed - ko]
|
||||
* 3. valid . 'carte valide' -> ko 1/2 : [1: after payment success - ok], [2: after transfert success - ko]
|
||||
* 4. waiting_invalid . 'en attente invalide' -> ok 1/1 : [1: after form choose transfert & expired - ok]
|
||||
* 5. waiting_valid . 'en attente valide' -> ok 1/1 : [1: after form choose transfert & not expired - ok]
|
||||
* 6. expired . 'carte expiree' -> ko 1/2 : [1: when prof access profil & expired - ok], [2: when event card expired fire - ko]
|
||||
*
|
||||
* [/] etat carte ('etat_carte') :
|
||||
* - 'Commande'
|
||||
* - 'Renouvellement'
|
||||
* - 'Commande'
|
||||
* - 'Renouvellement'
|
||||
*
|
||||
* [ ] activation du compte ('compte-actif') :
|
||||
* - 'Actif' -> equivalent a etat compte [3] carte valide
|
||||
* - 'Inactif' -> equivalent a etat compte [2] doit payer
|
||||
* - 'Actif' -> equivalent a etat compte [3] carte valide
|
||||
* - 'Inactif' -> equivalent a etat compte [2] doit payer
|
||||
*
|
||||
* [/] etat paiement ('etat_paiement') :
|
||||
* - 'en_cours'
|
||||
* - 'reussi'
|
||||
* - 'echec'
|
||||
* - 'aucun'
|
||||
* - 'en_cours'
|
||||
* - 'reussi'
|
||||
* - 'echec'
|
||||
* - 'aucun'
|
||||
*
|
||||
* [/] type paiement ('paiement') :
|
||||
* - 'Paypal'
|
||||
* - 'Virement'
|
||||
* - 'Paypal'
|
||||
* - 'Virement'
|
||||
*
|
||||
* [/] numero de carte ('numero_de_la_carte')
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user