Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2013 at 19:56 UTC
Updated:
26 May 2013 at 22:27 UTC
Only create and add CPF and CNPJ fields to Commerce Billing Profile and create and add Linha digitavel field to Commerce Order.
This is a base modulo to another modules like Commerce Bradesco.
Project: http://drupal.org/sandbox/7links/1907474
Git repository: http://drupalcode.org/sandbox/7links/1907474.git
Drupal version: 7.x
Comments
Comment #1
abhijeetkalsi commentedHi,
first of all there are quite a few issues to sort out such as indentation, whitespace.
You can find them all here:
http://ventral.org/pareview/httpgitdrupalorgsandbox7links1907474git
Here you can check source code whether it meets drupal coding standards or not, and advise you what to change in your code. You can repeat review after your commits, and can fix those errors.
Comment #2
abhijeetkalsi commented1) No README.txt file
2) Move your code to custom branch 7.x-1.x & delete master branch.
3) In repository your module file empty, just
Comment #3
7links commented@abhijeetkalsi, thank you for your attention.
I did the fixes, but i don´t succeed deleting the master branch.
Do you can help me?
Thanks
Comment #4
abhijeetkalsi commentedGit command to delete branch:
More information on http://drupal.org/node/1127732
Comment #5
7links commentedOh, ok. Thank you very much.
That´s ok, now.
Comment #6
7links commentedComment #7
7links commentedComment #8
7links commentedComment #9
klausiWe are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and put yourself on the PAReview: review bonus high priority list. Then I'll take a look at your project right away :-)
Comment #10
luco commentedhi 7links,
I'm trying to download your module so I can test it, but the
.modulefile is blank.please let me know when you have something up so I can download it.
I can only test the CPF field, since I don't own a business. ;)
cheers,
Luciano
Comment #11
7links commentedHello, @luco,
really the .module file is black, because this module create fields on .install file. :-)
Use any CNPJ for testing.
Tks,
Bruno Magalhães
www.7links.com.br
Comment #12
luco commentedoh, I see! :)
your code is pretty neat; however, it creates fields in Portuguese.
I would advise you to use terms in English - not only because Drupal is written in English, but also because then other countries can benefit from your work. I'm pretty sure our country is not the only one to register citizens and businesses ;)
try this:
commerce_linha_digitavel -> commerce_manual_input
commerce_customer_cpf_cnpj -> commerce_customer_id
commerce_customer_insc_estadual -> commerce_customer_business_id
nevertheless, you must wrap all fields' labels and descriptions in t().
Your project page text also needs some revision. I can help with that.
over the weekend I'll try and download your module, see if it all works, and get back to you.
cheers,
Luciano
Comment #13
7links commentedHi, @luco,
thanks for your remarks.
I used the names CNPJ and CPF, because this field only accepts this formats. This module depends on module Brazilian IDs, who makes the validation of these data.
Is a very specific module to facilitate the entry of billing data for specific payment methods Brazilians.
I´ll very happy with your colaboration, as you can see, my English is horrible. :-)
Thanks,
Bruno
Comment #14
luco commentedoh, ok. :)
maybe in the near future there could be a module that would check format for any ID, not just Brazillian ones... but that's another story.
well, I'm in no position to accept or deny your application, that's up to the good folks in this queue to decide. :) good luck.
Comment #15
luco commented7links,
here's a correction for the module's info file:
Create brazilian id fields on billing profile.and where do I download the Brazilian IDs module?
cheers
Comment #16
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.