develop #7

Closed
jsolis wants to merge 0 commits from develop into master
Member

Cambios para que se pueda acabar el ciclo de compra, se envíen los datos a Paypal y la recepción de los datos de Paypal.

Cambios para que se pueda acabar el ciclo de compra, se envíen los datos a Paypal y la recepción de los datos de Paypal.
jsolis added 2 commits 2024-02-08 11:30:07 +00:00
pablone requested changes 2024-02-15 08:07:29 +00:00
@ -0,0 +16,4 @@
}
//json for checkout
var payReq = JSON.stringify({
Member

es mejor utilizar let, pero en este caso puede ser una const

es mejor utilizar let, pero en este caso puede ser una const
jsolis marked this conversation as resolved
@ -0,0 +43,4 @@
reject(error)
} else {
//capture HATEOAS links
var links = {};
Member

mejor utilizar let

mejor utilizar let
jsolis marked this conversation as resolved
@ -36,0 +41,4 @@
setValues({ date: invertDate(newProxy) });
});
const locale = {
Member

creo que existe una función nativa de js que te devuelve el dia de la semana
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString

creo que existe una función nativa de js que te devuelve el dia de la semana https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString
Author
Member

te lo reviso para la próxima versión

te lo reviso para la próxima versión
jsolis marked this conversation as resolved
@ -31,3 +31,3 @@
<send-banner
left-text="ENVÍO GRATIS a partir de 60€ | Compra el sábado hasta 14h y entrega el domingo"
left-text="ENVÍO GRATIS"
right-text="Envíos 24-48 h a toda España, Portugal y sur de Francia"
Member

Intentar unificar textos

Intentar unificar textos
jsolis marked this conversation as resolved
@ -89,3 +89,2 @@
<p class="carousel-header-paragraph">
</p>
<!-- <p class="carousel-header-paragraph"></p> -->
Member

los comentarios se pueden borrar

los comentarios se pueden borrar
jsolis marked this conversation as resolved
@ -96,2 +121,2 @@
ramos: "Floranet Ramos",
};
const handleHome = async () => {
console.log(type);
Member

se puede borrar

se puede borrar
jsolis marked this conversation as resolved
@ -169,1 +144,3 @@
objVal[type]() || objVal["default"]();
const handleProduct = async () => {
console.log(type);
Member

lo mismo

lo mismo
jsolis marked this conversation as resolved
@ -170,0 +169,4 @@
const id = +route.path.split("/")[2];
console.log(item.postalCode === values.postalCode);
Member

quitar console.log

quitar console.log
jsolis marked this conversation as resolved
@ -170,0 +207,4 @@
};
console.log(params);
if (category.value === "all") {
Member

==

==
jsolis marked this conversation as resolved
@ -170,0 +220,4 @@
};
const handleDefault = () => {
console.error(
Member

manejar el error

manejar el error
jsolis marked this conversation as resolved
@ -0,0 +1,22 @@
<template>
<q-page class="checkout-error-page error-message">
<container>
Member

el orden no es el correcto

el orden no es el correcto
Author
Member

Que orden no esta bien?

Que orden no esta bien?
Member

tiene que ser script → template → style

tiene que ser script → template → style
jsolis marked this conversation as resolved
@ -0,0 +61,4 @@
const { isError, onError } = useCheckoutForm();
const steppers = [
{
value: 1,
Member

unificar los paso en 1 solo archivo

unificar los paso en 1 solo archivo
Author
Member

Lo hablamos mañana

Lo hablamos mañana
jsolis marked this conversation as resolved
@ -124,3 +87,2 @@
* @returns {Promise<void>} - A promise that resolves when the products are fetched.
*/
const isEmpty = ref(false);
async function getProducts(
Member

revisar async

revisar async
jsolis marked this conversation as resolved
@ -146,2 +107,2 @@
const { data: { data } } = await apiBack.get("products", { params });
const {
data: { data },
Member

esto no da error?

esto no da error?
Author
Member

Asigna al const data el data de la respuesta del axios

Asigna al const data el data de la respuesta del axios
jsolis marked this conversation as resolved
@ -158,3 +122,2 @@
if (scrollIntoView) {
scrollIntoView();
if (callback) {
Member

???

???
jsolis marked this conversation as resolved
@ -345,12 +254,9 @@ export const useCartStore = defineStore("cart", () => {
cart,
addCartLoadingBtn,
products,
Member

quitar los saltos de línea

quitar los saltos de línea
jsolis marked this conversation as resolved
pablone approved these changes 2024-03-06 11:52:13 +00:00
jsolis added 1 commit 2024-03-06 17:12:25 +00:00
Author
Member

cerrar PR

cerrar PR
jsolis closed this pull request 2024-03-06 17:12:57 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/floranet#7
No description provided.