recette2
parent
917a93e350
commit
94968efc6d
|
@ -467,7 +467,7 @@ const Partner_Facture = (props) => {
|
|||
setLoading(false);
|
||||
if (String(res.data.status) === String("true")) {
|
||||
//console.log(" In Getall_Invoice_Paiement res.data.status = " + res.data.status);
|
||||
//console.log(" In Getall_Invoice_Paiement res.data.message r_class = " + res.data.message);
|
||||
console.log(" In Getall_Invoice_Paiement res.data.message r_class = " + res.data.message);
|
||||
setGetall_Invoice_Paiement_api("true");
|
||||
setGetall_Invoice_Paiement_result(res.data.message);
|
||||
|
||||
|
@ -3827,12 +3827,16 @@ const Partner_Facture = (props) => {
|
|||
|
||||
{String(header_submenu) === "paiement" && <div style={{ "width": "100%", "float": "left" }}>
|
||||
|
||||
{Getall_Invoice_Paiement_result &&
|
||||
{New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result && New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result.length > 0 &&
|
||||
<div className="session_data" >
|
||||
{New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result &&
|
||||
<div className="div_row">
|
||||
|
||||
{New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result[0]['remaining_amount'] &&
|
||||
|
||||
{New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result
|
||||
&& New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result[0] &&
|
||||
New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result[0]['remaining_amount'] &&
|
||||
|
||||
parseFloat(New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result[0]['remaining_amount']) > 0 && <nav className="block_paiement_montant" style={{ background: "#ffd600" }}>
|
||||
|
||||
<nav style={{ "width": '45%', 'float': 'left', "textAlign": 'left', }}><b> Montant Non réglé </b> </nav> <nav style={{ "width": '45%', 'float': 'right', "textAlign": 'right' }}> <b> {New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result[0]['remaining_amount']} </b> </nav> <br />
|
||||
|
@ -3841,7 +3845,11 @@ const Partner_Facture = (props) => {
|
|||
|
||||
</nav>}
|
||||
|
||||
{New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result[0]['remaining_amount'] &&
|
||||
{New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result
|
||||
&& New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result[0] &&
|
||||
New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result[0]['remaining_amount'] &&
|
||||
|
||||
|
||||
parseFloat(New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result[0]['remaining_amount']) <= 0 && <nav className="block_paiement_montant">
|
||||
|
||||
<nav style={{ "width": '45%', 'float': 'left', "textAlign": 'left', 'fontWeight': '700px' }}> Montant Non réglé </nav> <nav style={{ "width": '45%', 'float': 'right', "textAlign": 'right' }}> {New_Getall_Invoice_Paiement_Payed_Remain_Amounts_result[0]['remaining_amount']} </nav> <br />
|
||||
|
|
Loading…
Reference in New Issue