Jump to content
Fórum Script Brasil
  • 0

Preciso de ajuda subtração problemática (:


PhPrvale

Question

eu tenho numa base de dados com um[nome], [preço], [meses], e [descrição]

ou seja:

Pack Competitivo---------------------------------------41.00------x 12 meses-------------------- 40.83 pagamento anual 12 meses Apagar

Pack Competitivo---------------------------------------49.00------x 6 meses---------------------49.00 pagamento semestral 6 meses Apagar

Budget 20 -----------------------------------------------123.00----x 1 meses---------------------banner estará disponivel na categoria local1 do/da sub_local1 Apagar

Pack Competitivo----------------------------------------74.00-----x 1 meses---------------------73.50 € pagamento mensal 1 mes Apagar

Valor Final Bruto(sem estar dividido por mensalidades) 983

E eu quero mostrar isto numa visão detalhada que ficaria desta forma

Meses -------------------- Preço a pegar --------------------Detalhes

1----------------------------- 287€ --------------------41.00€ + 49.00€ + 123€ + 73.50€

2------------------------------100€ --------------------49.00€ + 41.00€

3------------------------------100€ --------------------49.00€ + 41.00€

4------------------------------100€---------------------49.00€ + 41.00€

5------------------------------100€---------------------49.00€ + 41.00€

6------------------------------100€---------------------49.00€ + 41.00€

7------------------------------41.00€-------------------41.00€

8------------------------------41.00€-------------------41.00€

9------------------------------41.00€-------------------41.00€

10-----------------------------41.00€-------------------41.00€

11-----------------------------41.00€-------------------41.00€

12-----------------------------41.00€-------------------41.00€

Existe possibilidade de fazer isto?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152k
    • Total Posts
      651.6k
×
×
  • Create New...