Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erfassung von Einkaufspreisen #660

Closed
29 tasks done
mrothauer opened this issue Apr 13, 2021 · 0 comments
Closed
29 tasks done

Erfassung von Einkaufspreisen #660

mrothauer opened this issue Apr 13, 2021 · 0 comments

Comments

@mrothauer
Copy link
Member

mrothauer commented Apr 13, 2021

Optional / Später

  • fürs erste nicht: Skript: Nachträgliches Speichern der Einkaufspreise zu bestellten Produkten / evtl. auch updaten / vorher löschen - falls schon daten vorhanden sind

++++++++++++++++++++++++++++++++++++++++++++
ERLEDIGT

Aktuelle Einkaufspreise beim Bestellen speichern

  • normaler Preis
  • Preis nach Gewicht
  • Unit Tests

User-Interface Produkt-Admin: Einkaufspreis inkl. USt. erfassen

  • in extra Spalte vor Preis anzeigen
  • Variante / Haupt-Produkt
  • Preis nach Bestelleinheit / Preis nach Gewicht
  • ActionLog (nur schreiben wenn Preis geändert wurde)
  • Validierung
  • Steuer-Änderung: EP netto anpassen, damit EP brutto gleich bleibt
  • Überschrift Produkt-Admin: EP brutto, VP brutto

Unit-Tests: Einkaufspreis inkl. USt. erfassen

  • Steuer EP und VP
  • Produkt normaler Preis
  • Produkt Preis nach Gewicht
  • Variante normaler Preis
  • Variante Preis nach Gewicht

Todos

  • Naming: PurchasePrice (Einkaufspreis) vs. SellingPrice (Verkaufspreis)
  • Neue Einstellung: "Einkaufspreis für Produkte erfassen" => in Doku dorfladen-online mit rein
  • getGrossPrice / getNetPrice: taxRate immer übergeben! Sonst wird mit der id_tax von fcs_products gejoint und das wäre dann falsch
  • Changelog + Dokus
  • Produkt stornieren - order_details_purchase_prices löschen

Migrations

  • fcs_purchase_prices: id / product_id, product_attribute_id, tax_id, price_excl_tax,
  • fcs_units: purchase_price_incl_per_unit
  • fcs_order_detail_purchase_prices (id_order_detail, tax_rate, total_price_tax_incl, total_price_tax_excl, tax_unit_amount, tax_total_amount
  • Standard-Steuersatz für Einkaufspreis bei Hersteller-Einstellungen erfassen

User-Interface: Steuer speichern

  • Anzeige in Produkt-Liste
  • Speichern
  • Aktivitäten-Log
  • Use-Case: Einstellung deaktiviert aber Daten vorhanden
  • Neues Produkt anlegen: Eintrag in Tabelle fcs_purchase_price anlegen / Default-Steuersatz!
@mrothauer mrothauer added this to Wird gerade umgesetzt in Roadmap v3.3 (Autumn Release 2021) Apr 23, 2021
@mrothauer mrothauer pinned this issue Apr 23, 2021
@mrothauer mrothauer changed the title Erfassung von Einkaufspreisen und Bestellen zu Einkaufspreisen Erfassung von Einkaufspreisen, Bestellen zu Einkaufspreisen und Gewinnermittlung Apr 23, 2021
@mrothauer mrothauer changed the title Erfassung von Einkaufspreisen, Bestellen zu Einkaufspreisen und Gewinnermittlung Erfassung von Einkaufspreisen May 3, 2021
@mrothauer mrothauer removed this from Wird gerade umgesetzt in Roadmap v3.3 (Autumn Release 2021) May 3, 2021
@mrothauer mrothauer added this to Wird gerade umgesetzt in Roadmap v3.3 (Autumn Release 2021) May 10, 2021
@mrothauer mrothauer self-assigned this May 10, 2021
@mrothauer mrothauer unpinned this issue Jun 8, 2021
@mrothauer mrothauer moved this from Wird gerade umgesetzt to Fertig für v3.3 (in develop branch) in Roadmap v3.3 (Autumn Release 2021) Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Roadmap v3.3 (Autumn Release 2021)
Fertig für v3.3 (in develop branch)
Development

No branches or pull requests

1 participant