Exemple #1
0
?>
</li>
            <li><?php 
erp_print_key_value(__('Nationality', 'wp-erp'), $employee->get_nationality());
?>
</li>
            <li><?php 
erp_print_key_value(__('Marital Status', 'wp-erp'), $employee->get_marital_status());
?>
</li>
            <li><?php 
erp_print_key_value(__('Driving License', 'wp-erp'), $employee->driving_license);
?>
</li>
            <li><?php 
erp_print_key_value(__('Hobbies', 'wp-erp'), $employee->hobbies);
?>
</li>

            <?php 
do_action('erp-hr-employee-single-personal', $employee);
?>
        </ul>
    </div>
</div><!-- .postbox -->

<?php 
do_action('erp-hr-employee-single-after-personal', $employee);
?>

<div class="postbox leads-actions erp-work-experience-wrap">
Exemple #2
0
    ?>
</li>
                                                <li><?php 
    erp_print_key_value(__('City', 'wp-erp'), $assing_customer->city);
    ?>
</li>
                                                <li><?php 
    erp_print_key_value(__('State', 'wp-erp'), erp_get_state_name($assing_customer->country, $assing_customer->state));
    ?>
</li>
                                                <li><?php 
    erp_print_key_value(__('Country', 'wp-erp'), erp_get_country_name($assing_customer->country));
    ?>
</li>
                                                <li><?php 
    erp_print_key_value(__('Postal Code', 'wp-erp'), $assing_customer->postal_code);
    ?>
</li>
                                            </ul>
                                        </div>
                                    </div>

                                <?php 
}
?>
                                <a href="#" data-id="<?php 
echo $customer->id;
?>
" data-type="assign_customer" title="<?php 
_e('Assign a Contact', 'wp-erp');
?>
Exemple #3
0
    ?>
</li>
                                                <li><?php 
    erp_print_key_value(__('City', 'wp-erp'), $company->city);
    ?>
</li>
                                                <li><?php 
    erp_print_key_value(__('State', 'wp-erp'), erp_get_state_name($company->country, $company->state));
    ?>
</li>
                                                <li><?php 
    erp_print_key_value(__('Country', 'wp-erp'), erp_get_country_name($company->country));
    ?>
</li>
                                                <li><?php 
    erp_print_key_value(__('Postal Code', 'wp-erp'), $company->postal_code);
    ?>
</li>
                                            </ul>
                                        </div>
                                    </div>

                                <?php 
}
?>
                                <a href="#" data-id="<?php 
echo $customer->id;
?>
" data-type="assign_company" title="<?php 
_e('Add a company', 'wp-erp');
?>
?>
</li>
    <li><?php 
erp_print_key_value(__('Email', 'erp-accounting'), erp_get_clickable('email', $customer->get_email()));
?>
</li>
    <li><?php 
erp_print_key_value(__('Phone', 'erp-accounting'), $customer->phone);
?>
</li>
    <li><?php 
erp_print_key_value(__('Mobile', 'erp-accounting'), $customer->mobile);
?>
</li>
    <li><?php 
erp_print_key_value(__('Fax', 'erp-accounting'), $customer->fax);
?>
</li>
    <li><?php 
erp_print_key_value(__('Website', 'erp-accounting'), $customer->website);
?>
</li>
</ul>

<hr>
<strong><?php 
_e('Address', 'erp-accounting');
?>
</strong><br>
<?php 
echo $country->get_formatted_address(['address_1' => $customer->street_1, 'address_2' => '', 'city' => $customer->city, 'state' => $customer->state, 'postcode' => $customer->postcode, 'country' => $customer->country]);